Importing Modules¶
The modules described in this chapter provide new ways to import other Python modules and hooks for customizing the import process.
The full list of modules described in this chapter is:
zipimport
— Import modules from Zip archivespkgutil
— Package extension utilitymodulefinder
— Find modules used by a scriptrunpy
— Locating and executing Python modulesimportlib
— The implementation ofimport
importlib.resources
– Ανάγνωση, άνοιγμα και πρόσβαση σε πόρους πακέτωνimportlib.resources.abc
– Abstract base classes for resourcesimportlib.metadata
– Accessing package metadata- The initialization of the
sys.path
module search path