31 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:
- 1.
imp
— Access theimport
internals - 2.
importlib
– Convenience wrappers for__import__()
- 3. (depr)
imputil
— Import utilities - 4.
zipimport
— Import modules from Zip archives - 5.
pkgutil
— Package extension utility - 6.
modulefinder
— Find modules used by a script - 7.
runpy
— Locating and executing Python modules