pydoc > importlib

📛 NAME

importlib - A pure Python implementation of import.

🚀 Quick Reference

Use CaseCommandDescription
Import a module by nameimportlib.import_module('module_name')Import a module, supporting relative imports with the package argument.
Reload a moduleimportlib.reload(module)Reload a previously imported module (useful during development).
Invalidate import cachesimportlib.invalidate_caches()Clear internal caches of all meta path finders (e.g., after installing new modules).

🔗 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.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-01 16:48 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!