PyDocs

Nav

Importing Modules

import_module

importlib

function (source)
  • import_module(name, package=None)
Import a module.

The 'package' argument is required when performing a relative import. It
specifies the package to use as the anchor point from which to resolve the
relative import to an absolute import.
Changed in 3.3
  • 3.3: Parent packages are automatically imported.
0 Examples
No examples for importlib/import_module.
See Also
No see-alsos for importlib/import_module
0 Notes
No notes for import_module