imp.new_module()

imp.new_module(name) → module

Create a new module. Do not enter it in sys.modules. The module name must include the full package name, if any.