Python imp Module
Warning: The
imp
module is deprecated; use importlib
instead.Definition and Usage
The imp module provides access to the internal implementation of Python's import mechanism.
It has been superseded by importlib which offers a cleaner and more flexible API.
Members
Member | Description |
---|---|
find_module() | Find a module, returning an open file object and details. |
load_module() | Load a module, returning the module object. |
reload() | Reload a previously imported module. |