René's URL Explorer Experiment


Title: importlib — The implementation of import — Python 3.15.0a5 documentation

Open Graph Title: importlib — The implementation of import

Description: Source code: Lib/importlib/__init__.py Introduction: The purpose of the importlib package is three-fold. One is to provide the implementation of the import statement (and thus, by extension, the__i...

Open Graph Description: Source code: Lib/importlib/__init__.py Introduction: The purpose of the importlib package is three-fold. One is to provide the implementation of the import statement (and thus, by extension, the__i...

Opengraph URL: https://docs.python.org/3/library/importlib.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_library_importlib_ec3fea04.png
og:image:altSource code: Lib/importlib/__init__.py Introduction: The purpose of the importlib package is three-fold. One is to provide the implementation of the import statement (and thus, by extension, the__i...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
importlib — The implementation of importhttps://docs.python.org/dev/library/importlib.html
Introductionhttps://docs.python.org/dev/library/importlib.html#introduction
Functionshttps://docs.python.org/dev/library/importlib.html#functions
importlib.abc – Abstract base classes related to importhttps://docs.python.org/dev/library/importlib.html#module-importlib.abc
importlib.machinery – Importers and path hookshttps://docs.python.org/dev/library/importlib.html#module-importlib.machinery
importlib.util – Utility code for importershttps://docs.python.org/dev/library/importlib.html#module-importlib.util
Exampleshttps://docs.python.org/dev/library/importlib.html#examples
Importing programmaticallyhttps://docs.python.org/dev/library/importlib.html#importing-programmatically
Checking if a module can be importedhttps://docs.python.org/dev/library/importlib.html#checking-if-a-module-can-be-imported
Importing a source file directlyhttps://docs.python.org/dev/library/importlib.html#importing-a-source-file-directly
Implementing lazy importshttps://docs.python.org/dev/library/importlib.html#implementing-lazy-imports
Setting up an importerhttps://docs.python.org/dev/library/importlib.html#setting-up-an-importer
Approximating importlib.import_module()https://docs.python.org/dev/library/importlib.html#approximating-importlib-import-module
runpy — Locating and executing Python moduleshttps://docs.python.org/dev/library/runpy.html
importlib.resources – Package resource reading, opening and accesshttps://docs.python.org/dev/library/importlib.resources.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/importlib.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/importlib.resources.html
previoushttps://docs.python.org/dev/library/runpy.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Importing Moduleshttps://docs.python.org/dev/library/modules.html
importlib — The implementation of importhttps://docs.python.org/dev/library/importlib.html
https://docs.python.org/dev/library/importlib.html#module-importlib
Lib/importlib/__init__.pyhttps://github.com/python/cpython/tree/main/Lib/importlib/__init__.py
https://docs.python.org/dev/library/importlib.html#introduction
importlibhttps://docs.python.org/dev/library/importlib.html#module-importlib
importhttps://docs.python.org/dev/reference/simple_stmts.html#import
__import__()https://docs.python.org/dev/library/functions.html#import__
importhttps://docs.python.org/dev/reference/simple_stmts.html#import
importerhttps://docs.python.org/dev/glossary.html#term-importer
importlib.metadatahttps://docs.python.org/dev/library/importlib.metadata.html#module-importlib.metadata
importlib.resourceshttps://docs.python.org/dev/library/importlib.resources.html#module-importlib.resources
The import statementhttps://docs.python.org/dev/reference/simple_stmts.html#import
importhttps://docs.python.org/dev/reference/simple_stmts.html#import
Packages specificationhttps://www.python.org/doc/essays/packages/
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
__import__()https://docs.python.org/dev/library/importlib.html#importlib.__import__
importhttps://docs.python.org/dev/reference/simple_stmts.html#import
The initialization of the sys.path module search pathhttps://docs.python.org/dev/library/sys_path_init.html#sys-path-init
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
PEP 235https://peps.python.org/pep-0235/
PEP 263https://peps.python.org/pep-0263/
PEP 302https://peps.python.org/pep-0302/
PEP 328https://peps.python.org/pep-0328/
PEP 366https://peps.python.org/pep-0366/
PEP 420https://peps.python.org/pep-0420/
PEP 451https://peps.python.org/pep-0451/
PEP 488https://peps.python.org/pep-0488/
PEP 489https://peps.python.org/pep-0489/
PEP 552https://peps.python.org/pep-0552/
PEP 3120https://peps.python.org/pep-3120/
PEP 3147https://peps.python.org/pep-3147/
https://docs.python.org/dev/library/importlib.html#functions
https://docs.python.org/dev/library/importlib.html#importlib.__import__
__import__()https://docs.python.org/dev/library/functions.html#import__
import_module()https://docs.python.org/dev/library/importlib.html#importlib.import_module
https://docs.python.org/dev/library/importlib.html#importlib.import_module
import_module()https://docs.python.org/dev/library/importlib.html#importlib.import_module
importlib.__import__()https://docs.python.org/dev/library/importlib.html#importlib.__import__
importlib.__import__()https://docs.python.org/dev/library/importlib.html#importlib.__import__
import_module()https://docs.python.org/dev/library/importlib.html#importlib.import_module
__import__()https://docs.python.org/dev/library/functions.html#import__
invalidate_caches()https://docs.python.org/dev/library/importlib.html#importlib.invalidate_caches
import_module()https://docs.python.org/dev/library/importlib.html#importlib.import_module
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
ModuleNotFoundErrorhttps://docs.python.org/dev/library/exceptions.html#ModuleNotFoundError
https://docs.python.org/dev/library/importlib.html#importlib.invalidate_caches
sys.meta_pathhttps://docs.python.org/dev/library/sys.html#sys.meta_path
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
https://docs.python.org/dev/library/importlib.html#importlib.reload
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
reload()https://docs.python.org/dev/library/importlib.html#importlib.reload
loaderhttps://docs.python.org/dev/glossary.html#term-loader
tryhttps://docs.python.org/dev/reference/compound_stmts.html#try
syshttps://docs.python.org/dev/library/sys.html#module-sys
__main__https://docs.python.org/dev/library/__main__.html#module-__main__
builtinshttps://docs.python.org/dev/library/builtins.html#module-builtins
fromhttps://docs.python.org/dev/reference/simple_stmts.html#from
importhttps://docs.python.org/dev/reference/simple_stmts.html#import
reload()https://docs.python.org/dev/library/importlib.html#importlib.reload
ModuleNotFoundErrorhttps://docs.python.org/dev/library/exceptions.html#ModuleNotFoundError
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
threading.Lockhttps://docs.python.org/dev/library/threading.html#threading.Lock
importlib.abchttps://docs.python.org/dev/library/importlib.html#module-importlib.abc
https://docs.python.org/dev/library/importlib.html#module-importlib.abc
Lib/importlib/abc.pyhttps://github.com/python/cpython/tree/main/Lib/importlib/abc.py
importlib.abchttps://docs.python.org/dev/library/importlib.html#module-importlib.abc
importhttps://docs.python.org/dev/reference/simple_stmts.html#import
https://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder
meta path finderhttps://docs.python.org/dev/glossary.html#term-meta-path-finder
https://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder.find_spec
spechttps://docs.python.org/dev/glossary.html#term-module-spec
__path__https://docs.python.org/dev/reference/datamodel.html#module.__path__
importlib.util.spec_from_loader()https://docs.python.org/dev/library/importlib.html#importlib.util.spec_from_loader
https://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder.invalidate_caches
importlib.invalidate_caches()https://docs.python.org/dev/library/importlib.html#importlib.invalidate_caches
sys.meta_pathhttps://docs.python.org/dev/library/sys.html#sys.meta_path
NotImplementedhttps://docs.python.org/dev/library/constants.html#NotImplemented
https://docs.python.org/dev/library/importlib.html#importlib.abc.PathEntryFinder
path entry finderhttps://docs.python.org/dev/glossary.html#term-path-entry-finder
MetaPathFinderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder
importlib.machinery.PathFinderhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.PathFinder
https://docs.python.org/dev/library/importlib.html#importlib.abc.PathEntryFinder.find_spec
spechttps://docs.python.org/dev/glossary.html#term-module-spec
path entryhttps://docs.python.org/dev/glossary.html#term-path-entry
importlib.util.spec_from_loader()https://docs.python.org/dev/library/importlib.html#importlib.util.spec_from_loader
https://docs.python.org/dev/library/importlib.html#importlib.abc.PathEntryFinder.invalidate_caches
importlib.machinery.PathFinder.invalidate_caches()https://docs.python.org/dev/library/importlib.html#importlib.machinery.PathFinder.invalidate_caches
https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader
loaderhttps://docs.python.org/dev/glossary.html#term-loader
PEP 302https://peps.python.org/pep-0302/
importlib.resources.abc.ResourceReaderhttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.ResourceReader
https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
exec_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.exec_module
https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.exec_module
exec_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.exec_module
create_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
create_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceLoader
loaderhttps://docs.python.org/dev/glossary.html#term-loader
PEP 302https://peps.python.org/pep-0302/
importlib.resources.abc.TraversableResourceshttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.TraversableResources
https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceLoader.get_data
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
__path__https://docs.python.org/dev/reference/datamodel.html#module.__path__
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader
loaderhttps://docs.python.org/dev/glossary.html#term-loader
PEP 302https://peps.python.org/pep-0302/
https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.get_code
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.get_source
universal newlineshttps://docs.python.org/dev/glossary.html#term-universal-newlines
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.is_package
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
loaderhttps://docs.python.org/dev/glossary.html#term-loader
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.source_to_code
compile()https://docs.python.org/dev/library/functions.html#compile
filterhttps://docs.python.org/dev/library/warnings.html#warning-filter
https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.exec_module
Loader.exec_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.exec_module
https://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader
InspectLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader
PEP 302https://peps.python.org/pep-0302/
https://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader.get_filename
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader
ResourceLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceLoader
ExecutionLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader
ResourceLoader.get_data()https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceLoader.get_data
ExecutionLoader.get_filename()https://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader.get_filename
https://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader.name
https://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader.get_filename
pathhttps://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader.get_data
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader
ResourceLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceLoader
ExecutionLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader
ResourceLoader.get_data()https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceLoader.get_data
ExecutionLoader.get_filename()https://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader.get_filename
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.path_stats
dicthttps://docs.python.org/dev/library/stdtypes.html#dict
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.path_mtime
path_stats()https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.path_stats
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.set_data
errno.EACCEShttps://docs.python.org/dev/library/errno.html#errno.EACCES
PermissionErrorhttps://docs.python.org/dev/library/exceptions.html#PermissionError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.get_code
InspectLoader.get_code()https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.get_code
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.exec_module
Loader.exec_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.exec_module
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.get_source
InspectLoader.get_source()https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.get_source
https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.is_package
InspectLoader.is_package()https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.is_package
ExecutionLoader.get_filename()https://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader.get_filename
https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceReader
abstract base classhttps://docs.python.org/dev/glossary.html#term-abstract-base-class
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
Nonehttps://docs.python.org/dev/library/constants.html#None
importlib.resources.abc.TraversableResourceshttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.TraversableResources
https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceReader.open_resource
file-like objecthttps://docs.python.org/dev/glossary.html#term-file-like-object
FileNotFoundErrorhttps://docs.python.org/dev/library/exceptions.html#FileNotFoundError
https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceReader.resource_path
FileNotFoundErrorhttps://docs.python.org/dev/library/exceptions.html#FileNotFoundError
https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceReader.is_resource
FileNotFoundErrorhttps://docs.python.org/dev/library/exceptions.html#FileNotFoundError
https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceReader.contents
iterablehttps://docs.python.org/dev/glossary.html#term-iterable
is_resource()https://docs.python.org/dev/library/importlib.html#importlib.abc.ResourceReader.is_resource
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable
pathlib.Pathhttps://docs.python.org/dev/library/pathlib.html#pathlib.Path
importlib.resources.as_file()https://docs.python.org/dev/library/importlib.resources.html#importlib.resources.as_file
importlib.resources.abc.Traversablehttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.Traversable
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.name
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.iterdir
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.is_dir
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.is_file
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.joinpath
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.__truediv__
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.open
pathlib.Path.openhttps://docs.python.org/dev/library/pathlib.html#pathlib.Path.open
io.TextIOWrapperhttps://docs.python.org/dev/library/io.html#io.TextIOWrapper
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.read_bytes
https://docs.python.org/dev/library/importlib.html#importlib.abc.Traversable.read_text
https://docs.python.org/dev/library/importlib.html#importlib.abc.TraversableResources
importlib.resources.files()https://docs.python.org/dev/library/importlib.resources.html#importlib.resources.files
importlib.resources.abc.ResourceReaderhttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.ResourceReader
importlib.resources.abc.ResourceReaderhttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.ResourceReader
importlib.abc.TraversableResourceshttps://docs.python.org/dev/library/importlib.html#importlib.abc.TraversableResources
importlib.resources.abc.TraversableResourceshttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.TraversableResources
https://docs.python.org/dev/library/importlib.html#importlib.abc.TraversableResources.files
importlib.resources.abc.Traversablehttps://docs.python.org/dev/library/importlib.resources.abc.html#importlib.resources.abc.Traversable
importlib.machineryhttps://docs.python.org/dev/library/importlib.html#module-importlib.machinery
https://docs.python.org/dev/library/importlib.html#module-importlib.machinery
Lib/importlib/machinery.pyhttps://github.com/python/cpython/tree/main/Lib/importlib/machinery.py
importhttps://docs.python.org/dev/reference/simple_stmts.html#import
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SOURCE_SUFFIXES
https://docs.python.org/dev/library/importlib.html#importlib.machinery.DEBUG_BYTECODE_SUFFIXES
BYTECODE_SUFFIXEShttps://docs.python.org/dev/library/importlib.html#importlib.machinery.BYTECODE_SUFFIXES
https://docs.python.org/dev/library/importlib.html#importlib.machinery.OPTIMIZED_BYTECODE_SUFFIXES
BYTECODE_SUFFIXEShttps://docs.python.org/dev/library/importlib.html#importlib.machinery.BYTECODE_SUFFIXES
https://docs.python.org/dev/library/importlib.html#importlib.machinery.BYTECODE_SUFFIXES
https://docs.python.org/dev/library/importlib.html#importlib.machinery.EXTENSION_SUFFIXES
https://docs.python.org/dev/library/importlib.html#importlib.machinery.all_suffixes
inspect.getmodulename()https://docs.python.org/dev/library/inspect.html#inspect.getmodulename
https://docs.python.org/dev/library/importlib.html#importlib.machinery.BuiltinImporter
importerhttps://docs.python.org/dev/glossary.html#term-importer
sys.builtin_module_nameshttps://docs.python.org/dev/library/sys.html#sys.builtin_module_names
importlib.abc.MetaPathFinderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder
importlib.abc.InspectLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader
PEP 489https://peps.python.org/pep-0489/
https://docs.python.org/dev/library/importlib.html#importlib.machinery.FrozenImporter
importerhttps://docs.python.org/dev/glossary.html#term-importer
importlib.abc.MetaPathFinderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder
importlib.abc.InspectLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader
https://docs.python.org/dev/library/importlib.html#importlib.machinery.WindowsRegistryFinder
Finderhttps://docs.python.org/dev/glossary.html#term-finder
importlib.abc.MetaPathFinderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder
sitehttps://docs.python.org/dev/library/site.html#module-site
https://docs.python.org/dev/library/importlib.html#importlib.machinery.PathFinder
Finderhttps://docs.python.org/dev/glossary.html#term-finder
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
importlib.abc.MetaPathFinderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder
https://docs.python.org/dev/library/importlib.html#importlib.machinery.PathFinder.find_spec
spechttps://docs.python.org/dev/glossary.html#term-module-spec
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
path entry finderhttps://docs.python.org/dev/glossary.html#term-path-entry-finder
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
sys.path_hookshttps://docs.python.org/dev/library/sys.html#sys.path_hooks
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
https://docs.python.org/dev/library/importlib.html#importlib.machinery.PathFinder.invalidate_caches
importlib.abc.PathEntryFinder.invalidate_caches()https://docs.python.org/dev/library/importlib.html#importlib.abc.PathEntryFinder.invalidate_caches
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
sys.path_hookshttps://docs.python.org/dev/library/sys.html#sys.path_hooks
https://docs.python.org/dev/library/importlib.html#importlib.machinery.FileFinder
importlib.abc.PathEntryFinderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.PathEntryFinder
importlib.invalidate_caches()https://docs.python.org/dev/library/importlib.html#importlib.invalidate_caches
https://docs.python.org/dev/library/importlib.html#importlib.machinery.FileFinder.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.FileFinder.find_spec
pathhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.FileFinder.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.FileFinder.invalidate_caches
https://docs.python.org/dev/library/importlib.html#importlib.machinery.FileFinder.path_hook
sys.path_hookshttps://docs.python.org/dev/library/sys.html#sys.path_hooks
FileFinderhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.FileFinder
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
https://docs.python.org/dev/library/importlib.html#importlib.machinery.NamespacePath
namespace packagehttps://docs.python.org/dev/glossary.html#term-namespace-package
module.__path__https://docs.python.org/dev/reference/datamodel.html#module.__path__
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
importlib.abc.MetaPathFinder.find_spec()https://docs.python.org/dev/library/importlib.html#importlib.abc.MetaPathFinder.find_spec
module.__path__https://docs.python.org/dev/reference/datamodel.html#module.__path__
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
ModuleNotFoundErrorhttps://docs.python.org/dev/library/exceptions.html#ModuleNotFoundError
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
PathFinder.invalidate_caches()https://docs.python.org/dev/library/importlib.html#importlib.machinery.PathFinder.invalidate_caches
NamespacePathhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.NamespacePath
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader
importlib.abc.SourceLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader
importlib.abc.FileLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader.name
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader.is_package
pathhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader.path_stats
importlib.abc.SourceLoader.path_stats()https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.path_stats
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader.set_data
importlib.abc.SourceLoader.set_data()https://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader.set_data
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader
importlib.abc.FileLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.FileLoader
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.name
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.is_package
pathhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.get_code
namehttps://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.name
pathhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.SourcelessFileLoader.get_source
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader
importlib.abc.ExecutionLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.ExecutionLoader
PEP 489https://peps.python.org/pep-0489/
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.name
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.create_module
PEP 489https://peps.python.org/pep-0489/
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.exec_module
PEP 489https://peps.python.org/pep-0489/
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.is_package
EXTENSION_SUFFIXEShttps://docs.python.org/dev/library/importlib.html#importlib.machinery.EXTENSION_SUFFIXES
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.get_code
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.get_source
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.get_filename
pathhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader.path
https://docs.python.org/dev/library/importlib.html#importlib.machinery.NamespaceLoader
importlib.abc.InspectLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
__spec__https://docs.python.org/dev/reference/datamodel.html#module.__spec__
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
__spec__.originhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.origin
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.name
module.__name__https://docs.python.org/dev/reference/datamodel.html#module.__name__
finderhttps://docs.python.org/dev/glossary.html#term-finder
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.loader
loaderhttps://docs.python.org/dev/glossary.html#term-loader
module.__loader__https://docs.python.org/dev/reference/datamodel.html#module.__loader__
finderhttps://docs.python.org/dev/glossary.html#term-finder
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.origin
loaderhttps://docs.python.org/dev/glossary.html#term-loader
module.__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
finderhttps://docs.python.org/dev/glossary.html#term-finder
loaderhttps://docs.python.org/dev/glossary.html#term-loader
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.submodule_search_locations
sequencehttps://docs.python.org/dev/glossary.html#term-sequence
module.__path__https://docs.python.org/dev/reference/datamodel.html#module.__path__
finderhttps://docs.python.org/dev/glossary.html#term-finder
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.loader_state
finderhttps://docs.python.org/dev/glossary.html#term-finder
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.cached
finderhttps://docs.python.org/dev/glossary.html#term-finder
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.parent
module.__package__https://docs.python.org/dev/reference/datamodel.html#module.__package__
namehttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.name
https://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.has_location
originhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec.origin
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
https://docs.python.org/dev/library/importlib.html#importlib.machinery.AppleFrameworkLoader
importlib.machinery.ExtensionFileLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/importlib.html#importlib.machinery.AppleFrameworkLoader.name
https://docs.python.org/dev/library/importlib.html#importlib.machinery.AppleFrameworkLoader.path
importlib.utilhttps://docs.python.org/dev/library/importlib.html#module-importlib.util
https://docs.python.org/dev/library/importlib.html#module-importlib.util
Lib/importlib/util.pyhttps://github.com/python/cpython/tree/main/Lib/importlib/util.py
importerhttps://docs.python.org/dev/glossary.html#term-importer
https://docs.python.org/dev/library/importlib.html#importlib.util.MAGIC_NUMBER
importlib.abc.SourceLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.abc.SourceLoader
https://docs.python.org/dev/library/importlib.html#importlib.util.cache_from_source
PEP 3147https://peps.python.org/pep-3147/
PEP 488https://peps.python.org/pep-0488/
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
https://docs.python.org/dev/library/importlib.html#importlib.util.source_from_cache
PEP 3147https://peps.python.org/pep-3147/
PEP 3147https://peps.python.org/pep-3147/
PEP 488https://peps.python.org/pep-0488/
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
NotImplementedErrorhttps://docs.python.org/dev/library/exceptions.html#NotImplementedError
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
https://docs.python.org/dev/library/importlib.html#importlib.util.decode_source
importlib.abc.InspectLoader.get_source()https://docs.python.org/dev/library/importlib.html#importlib.abc.InspectLoader.get_source
https://docs.python.org/dev/library/importlib.html#importlib.util.resolve_name
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
https://docs.python.org/dev/library/importlib.html#importlib.util.find_spec
spechttps://docs.python.org/dev/glossary.html#term-module-spec
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
sys.meta_pathhttps://docs.python.org/dev/library/sys.html#sys.meta_path
ModuleNotFoundErrorhttps://docs.python.org/dev/library/exceptions.html#ModuleNotFoundError
AttributeErrorhttps://docs.python.org/dev/library/exceptions.html#AttributeError
__path__https://docs.python.org/dev/reference/datamodel.html#module.__path__
https://docs.python.org/dev/library/importlib.html#importlib.util.module_from_spec
spec.loader.create_modulehttps://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
spec.loader.create_modulehttps://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
AttributeErrorhttps://docs.python.org/dev/library/exceptions.html#AttributeError
types.ModuleTypehttps://docs.python.org/dev/library/types.html#types.ModuleType
https://docs.python.org/dev/library/importlib.html#importlib.util.spec_from_loader
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
loaderhttps://docs.python.org/dev/glossary.html#term-loader
https://docs.python.org/dev/library/importlib.html#importlib.util.spec_from_file_location
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
https://docs.python.org/dev/library/importlib.html#importlib.util.source_hash
source_hash()https://docs.python.org/dev/library/importlib.html#importlib.util.source_hash
https://docs.python.org/dev/library/importlib.html#importlib.util._incompatible_extension_module_restrictions
PEP 489https://peps.python.org/pep-0489/
https://docs.python.org/dev/library/importlib.html#importlib.util.LazyLoader
exec_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.exec_module
create_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
slotshttps://docs.python.org/dev/glossary.html#term-__slots__
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
create_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
importlib.machinery.BuiltinImporterhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.BuiltinImporter
importlib.machinery.ExtensionFileLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ExtensionFileLoader
https://docs.python.org/dev/library/importlib.html#importlib.util.LazyLoader.factory
https://docs.python.org/dev/library/importlib.html#examples
https://docs.python.org/dev/library/importlib.html#importing-programmatically
importlib.import_module()https://docs.python.org/dev/library/importlib.html#importlib.import_module
https://docs.python.org/dev/library/importlib.html#checking-if-a-module-can-be-imported
importlib.util.find_spec()https://docs.python.org/dev/library/importlib.html#importlib.util.find_spec
importlib.util.find_spec()https://docs.python.org/dev/library/importlib.html#importlib.util.find_spec
https://docs.python.org/dev/library/importlib.html#importing-a-source-file-directly
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
runpy.run_path()https://docs.python.org/dev/library/runpy.html#runpy.run_path
https://docs.python.org/dev/library/importlib.html#implementing-lazy-imports
https://docs.python.org/dev/library/importlib.html#setting-up-an-importer
importerhttps://docs.python.org/dev/glossary.html#term-importer
finderhttps://docs.python.org/dev/glossary.html#term-finder
loaderhttps://docs.python.org/dev/glossary.html#term-loader
meta path finderhttps://docs.python.org/dev/glossary.html#term-meta-path-finder
path entry finderhttps://docs.python.org/dev/glossary.html#term-path-entry-finder
sys.meta_pathhttps://docs.python.org/dev/library/sys.html#sys.meta_path
path entry hookhttps://docs.python.org/dev/glossary.html#term-path-entry-hook
sys.path_hookshttps://docs.python.org/dev/library/sys.html#sys.path_hooks
sys.pathhttps://docs.python.org/dev/library/sys.html#sys.path
importlib.import_module()https://docs.python.org/dev/library/importlib.html#importlib.import_module
https://docs.python.org/dev/library/importlib.html#approximating-importlib-import-module
importlib.import_module()https://docs.python.org/dev/library/importlib.html#importlib.import_module
Table of Contentshttps://docs.python.org/dev/contents.html
importlib — The implementation of importhttps://docs.python.org/dev/library/importlib.html
Introductionhttps://docs.python.org/dev/library/importlib.html#introduction
Functionshttps://docs.python.org/dev/library/importlib.html#functions
importlib.abc – Abstract base classes related to importhttps://docs.python.org/dev/library/importlib.html#module-importlib.abc
importlib.machinery – Importers and path hookshttps://docs.python.org/dev/library/importlib.html#module-importlib.machinery
importlib.util – Utility code for importershttps://docs.python.org/dev/library/importlib.html#module-importlib.util
Exampleshttps://docs.python.org/dev/library/importlib.html#examples
Importing programmaticallyhttps://docs.python.org/dev/library/importlib.html#importing-programmatically
Checking if a module can be importedhttps://docs.python.org/dev/library/importlib.html#checking-if-a-module-can-be-imported
Importing a source file directlyhttps://docs.python.org/dev/library/importlib.html#importing-a-source-file-directly
Implementing lazy importshttps://docs.python.org/dev/library/importlib.html#implementing-lazy-imports
Setting up an importerhttps://docs.python.org/dev/library/importlib.html#setting-up-an-importer
Approximating importlib.import_module()https://docs.python.org/dev/library/importlib.html#approximating-importlib-import-module
runpy — Locating and executing Python moduleshttps://docs.python.org/dev/library/runpy.html
importlib.resources – Package resource reading, opening and accesshttps://docs.python.org/dev/library/importlib.resources.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/importlib.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/importlib.resources.html
previoushttps://docs.python.org/dev/library/runpy.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Importing Moduleshttps://docs.python.org/dev/library/modules.html
importlib — The implementation of importhttps://docs.python.org/dev/library/importlib.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.