def _get_module(name):
    try:
        return sys.modules[name]
    except __HOLE__:
        pass
    mod = __import__(name)
    components = name.split('.')
    for comp in components[1:]:
        mod = getattr(mod, comp)
    return mod
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/framework.py/_get_module