モジュールのインポート¶
この章で解説されるモジュールは他のPythonモジュールをインポートする新しい方法と、インポート処理をカスタマイズするためのフックを提供します。
この章で解説されるモジュールの完全な一覧は:
zipimport--- Import modules from Zip archivespkgutil--- Package extension utilitymodulefinder--- Find modules used by a scriptrunpy--- Locating and executing Python modulesimportlib---importの実装importlib.resources-- Package resource reading, opening and accessimportlib.resources.abc-- Abstract base classes for resourcesimportlib.metadata-- パッケージメタデータへのアクセスsys.pathモジュール検索パスの初期化