def import_module(name, package=None):
    level = 0
    if name.startswith('.'):
        if not package:
            raise TypeError("relative imports require the 'package' argument")
        for character in name:
            if character != '.':
                break
            level += 1
    return _bootstrap._gcd_import(name[level:], package, level)


#need at least one import hook for importlib stuff to work.
Import a module.
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/importlib/__init__.py/import_module