32. 匯入模組¶
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:
- 32.1.
zipimport
— Import modules from Zip archives - 32.2.
pkgutil
— Package extension utility - 32.3.
modulefinder
— Find modules used by a script - 32.4.
runpy
— Locating and executing Python modules - 32.5.
importlib
— The implementation ofimport