PyDocs

Nav

Importing Modules

Loader.exec_module

importlib.abc

method of Loader · Added in 3.4
  • Loader.exec_module(module)
An abstract method that executes the module in its own namespace when a module is imported or reloaded. The module should already be initialized when exec_module() is called. When this method exists, create_module() must be defined.
Changed in 3.6
  • 3.6: create_module() must also be defined.
0 Examples
No examples for importlib.abc/Loader.exec_module.
See Also
No see-alsos for importlib.abc/Loader.exec_module
0 Notes
No notes for Loader.exec_module