pydoc > importlib

πŸ“¦ NAME

importlib - A pure Python implementation of import.

πŸš€ Quick Reference

Use CaseCommandDescription
πŸ“₯ Import a moduleimportlib.import_module('name')Import a module by name, returns the module.
πŸ”— Relative importimportlib.import_module('..submod', package=__name__)Perform a relative import from a package.
πŸ”„ Reload a moduleimportlib.reload(module)Reload an already imported module.
🧹 Invalidate cachesimportlib.invalidate_caches()Clear finder caches stored in sys.meta_path.
πŸ› οΈ Low‑level importimportlib.__import__('name', globals, locals, fromlist, level)Full control over import mechanics.

πŸ“– MODULE REFERENCE

https://docs.python.org/3.10/library/importlib.html

The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above.

πŸ“‹ PACKAGE CONTENTS

βš™οΈ FUNCTIONS

πŸ“Š DATA

__all__ = ['__import__', 'import_module', 'invalidate_caches', 'reload', ...]

πŸ“ FILE

/usr/lib/python3.10/importlib/__init__.py

importlib
πŸ“¦ NAME πŸš€ Quick Reference πŸ“– MODULE REFERENCE πŸ“‹ PACKAGE CONTENTS βš™οΈ FUNCTIONS πŸ“Š DATA πŸ“ FILE

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 13:14 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format