def load_module(module_name):
    try:
        module = resolve_name(module_name)
    except ImportError:
        raise error.NotFound(msg=module_name)

    return module
Dynamically load a module
dataset/ETHPy150Open panoptes/POCS/panoptes/utils/modules.py/load_module