Python Importlib Module
Import system — import_module, reload, resources, metadata. This category documents 10 Python importlib module entries, and each page gives you the full syntax, the parameter list, the return value, and a runnable example. The entries include: importlib.import_module(), importlib.reload(), importlib.resources.read_text(), importlib.resources.read_binary(), importlib.resources.files(), importlib.util.find_spec(), importlib.metadata.version(), importlib.metadata.metadata(), importlib.metadata.entry_points(), importlib.metadata.distributions(). importlib.import_module() dynamically imports a module by name at runtime (like `import` statement). importlib.reload() re-imports an already imported module (useful for development). importlib.resources.read_text() reads a text file resource from a package. importlib.resources.read_binary() reads a binary file resource from a package. importlib.resources.files() returns a Traversable object representing the package's resources. For a structured walkthrough of the whole topic, read the Importlib Module guide. Importlib Module belongs to the Modules & Metadata group alongside Pkgutil Module, Compileall Module, Zipapp Module, Venv Module. You can also search across every category from the search page, browse the complete A–Z index, or try any example in the Python playground.