Python __import__() built-in function

Python __import__ built-in function

From the Python 3 documentation This function is invoked by the import statement. It can be replaced [...] in order to change semantics of the import statement, but doing so is strongly discouraged as it is usually simpler to use import hooks [...]. Direct use of import() is also discouraged in favor of importlib.import_module().