a Python package that provides the implementation of the language's import statement. Use this tag for questions about using the "importlib" module.
importlib
is a Python package that implements the language's import
statement:
import antigravity
The common usage of this package is to import modules dynamically:
module_name = "sys"
sys = importlib.import_module(module_name)
It also handles module specs, package finders and loaders.