René's URL Explorer Experiment


Title: Importing Modules — Python 3.15.0a5 documentation

Open Graph Title: Importing Modules

Opengraph URL: https://docs.python.org/3/c-api/import.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_c-api_import_2b471d0e.png
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Operating System Utilitieshttps://docs.python.org/dev/c-api/sys.html
Data marshalling supporthttps://docs.python.org/dev/c-api/marshal.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/import.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/c-api/marshal.html
previoushttps://docs.python.org/dev/c-api/sys.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Python/C API Reference Manualhttps://docs.python.org/dev/c-api/index.html
Utilitieshttps://docs.python.org/dev/c-api/utilities.html
Importing Moduleshttps://docs.python.org/dev/c-api/import.html
https://docs.python.org/dev/c-api/import.html#importing-modules
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_Import()https://docs.python.org/dev/c-api/import.html#c.PyImport_Import
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModuleEx
__import__()https://docs.python.org/dev/library/functions.html#import__
__import__()https://docs.python.org/dev/library/functions.html#import__
PyImport_ImportModule()https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModule
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModuleLevelObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
__import__()https://docs.python.org/dev/library/functions.html#import__
__import__()https://docs.python.org/dev/library/functions.html#import__
__import__()https://docs.python.org/dev/library/functions.html#import__
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModuleLevel
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_ImportModuleLevelObject()https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModuleLevelObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_Import
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
__import__()https://docs.python.org/dev/library/functions.html#import__
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ReloadModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_AddModuleRef
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
strong referencehttps://docs.python.org/dev/glossary.html#term-strong-reference
PyImport_ImportModule()https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModule
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_AddModuleObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_AddModuleRef()https://docs.python.org/dev/c-api/import.html#c.PyImport_AddModuleRef
borrowed referencehttps://docs.python.org/dev/glossary.html#term-borrowed-reference
strhttps://docs.python.org/dev/library/stdtypes.html#str
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_AddModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_AddModuleRef()https://docs.python.org/dev/c-api/import.html#c.PyImport_AddModuleRef
borrowed referencehttps://docs.python.org/dev/glossary.html#term-borrowed-reference
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
compile()https://docs.python.org/dev/library/functions.html#compile
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
PyImport_ExecCodeModule()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModule
sys.moduleshttps://docs.python.org/dev/library/sys.html#sys.modules
__spec__https://docs.python.org/dev/reference/datamodel.html#module.__spec__
__loader__https://docs.python.org/dev/reference/datamodel.html#module.__loader__
SourceFileLoaderhttps://docs.python.org/dev/library/importlib.html#importlib.machinery.SourceFileLoader
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
co_filenamehttps://docs.python.org/dev/reference/datamodel.html#codeobject.co_filename
PyImport_ReloadModule()https://docs.python.org/dev/c-api/import.html#c.PyImport_ReloadModule
PyImport_ExecCodeModuleEx()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleEx
PyImport_ExecCodeModuleWithPathnames()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleWithPathnames
__loader__https://docs.python.org/dev/reference/datamodel.html#module.__loader__
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleEx
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_ExecCodeModule()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModule
__file__https://docs.python.org/dev/reference/datamodel.html#module.__file__
PyImport_ExecCodeModuleWithPathnames()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleWithPathnames
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_ExecCodeModuleEx()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleEx
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleWithPathnames
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_ExecCodeModuleObject()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExecCodeModuleObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_GetMagicNumber
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
https://docs.python.org/dev/c-api/import.html#c.PyImport_GetMagicTag
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PEP 3147https://peps.python.org/pep-3147/
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_GetModuleDict
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_GetModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_GetImporter
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
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
sys.path_hookshttps://docs.python.org/dev/library/sys.html#sys.path_hooks
path based finderhttps://docs.python.org/dev/glossary.html#term-path-based-finder
sys.path_importer_cachehttps://docs.python.org/dev/library/sys.html#sys.path_importer_cache
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportFrozenModuleObject
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_ImportModule()https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModule
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportFrozenModule
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_ImportFrozenModuleObject()https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportFrozenModuleObject
https://docs.python.org/dev/c-api/import.html#c._frozen
_frozenhttps://docs.python.org/dev/c-api/import.html#c._frozen
https://docs.python.org/dev/c-api/import.html#c.PyImport_FrozenModules
_frozenhttps://docs.python.org/dev/c-api/import.html#c._frozen
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_AppendInittab
Stable ABIhttps://docs.python.org/dev/c-api/stable.html#stable
PyImport_ExtendInittab()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExtendInittab
Py_Initialize()https://docs.python.org/dev/c-api/init.html#c.Py_Initialize
https://docs.python.org/dev/c-api/import.html#c._inittab
PyImport_ExtendInittab()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExtendInittab
https://docs.python.org/dev/c-api/import.html#c._inittab.name
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c._inittab.initfunc
_inittabhttps://docs.python.org/dev/c-api/import.html#c._inittab
https://docs.python.org/dev/c-api/import.html#c.PyImport_ExtendInittab
namehttps://docs.python.org/dev/c-api/import.html#c._inittab.name
Py_Initialize()https://docs.python.org/dev/c-api/init.html#c.Py_Initialize
PyImport_AppendInittab()https://docs.python.org/dev/c-api/import.html#c.PyImport_AppendInittab
PyImport_ExtendInittab()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExtendInittab
_inittabhttps://docs.python.org/dev/c-api/import.html#c._inittab
https://docs.python.org/dev/c-api/import.html#c.PyImport_Inittab
PyImport_AppendInittab()https://docs.python.org/dev/c-api/import.html#c.PyImport_AppendInittab
PyImport_ExtendInittab()https://docs.python.org/dev/c-api/import.html#c.PyImport_ExtendInittab
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModuleAttr
strhttps://docs.python.org/dev/library/stdtypes.html#str
PyImport_Import()https://docs.python.org/dev/c-api/import.html#c.PyImport_Import
PyObject_GetAttr()https://docs.python.org/dev/c-api/object.html#c.PyObject_GetAttr
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
AttributeErrorhttps://docs.python.org/dev/library/exceptions.html#AttributeError
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModuleAttrString
PyImport_ImportModuleAttr()https://docs.python.org/dev/c-api/import.html#c.PyImport_ImportModuleAttr
strhttps://docs.python.org/dev/library/stdtypes.html#str
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/c-api/import.html#c.PyImport_CreateModuleFromInitfunc
create_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.create_module
ModuleSpechttps://docs.python.org/dev/library/importlib.html#importlib.machinery.ModuleSpec
initialization functionhttps://docs.python.org/dev/c-api/extension-modules.html#extension-export-hook
PyImport_AppendInittab()https://docs.python.org/dev/c-api/import.html#c.PyImport_AppendInittab
PyModule_Exec()https://docs.python.org/dev/c-api/module.html#c.PyModule_Exec
exec_module()https://docs.python.org/dev/library/importlib.html#importlib.abc.Loader.exec_module
Operating System Utilitieshttps://docs.python.org/dev/c-api/sys.html
Data marshalling supporthttps://docs.python.org/dev/c-api/marshal.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/c-api/import.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/c-api/marshal.html
previoushttps://docs.python.org/dev/c-api/sys.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Python/C API Reference Manualhttps://docs.python.org/dev/c-api/index.html
Utilitieshttps://docs.python.org/dev/c-api/utilities.html
Importing Moduleshttps://docs.python.org/dev/c-api/import.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.