Logo

上個主題

30.2. codeop — Compile Python code

下個主題

31.1. zipimport — Import modules from Zip archives

本頁

  • Report a Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • 3.5.10 Documentation »
  • The Python Standard Library »
  • |

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:

  • 31.1. zipimport — Import modules from Zip archives
    • 31.1.1. zipimporter Objects
    • 31.1.2. Examples
  • 31.2. pkgutil — Package extension utility
  • 31.3. modulefinder — Find modules used by a script
    • 31.3.1. Example usage of ModuleFinder
  • 31.4. runpy — Locating and executing Python modules
  • 31.5. importlib — The implementation of import
    • 31.5.1. Introduction
    • 31.5.2. Functions
    • 31.5.3. importlib.abc – Abstract base classes related to import
    • 31.5.4. importlib.machinery – Importers and path hooks
    • 31.5.5. importlib.util – Utility code for importers

上個主題

30.2. codeop — Compile Python code

下個主題

31.1. zipimport — Import modules from Zip archives

本頁

  • Report a Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • 3.5.10 Documentation »
  • The Python Standard Library »
  • |
© 版權所有 2001-2025, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 8月 10, 2025。
Created using Sphinx 2.3.1.