瀏覽

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

30. 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:

  • 30.1. imp — Access the import internals
    • 30.1.1. Examples
  • 30.2. zipimport — Import modules from Zip archives
    • 30.2.1. zipimporter Objects
    • 30.2.2. Examples
  • 30.3. pkgutil — Package extension utility
  • 30.4. modulefinder — Find modules used by a script
    • 30.4.1. Example usage of ModuleFinder
  • 30.5. runpy — Locating and executing Python modules
  • 30.6. importlib – The implementation of import
    • 30.6.1. Introduction
    • 30.6.2. Functions
    • 30.6.3. importlib.abc – Abstract base classes related to import
    • 30.6.4. importlib.machinery – Importers and path hooks
    • 30.6.5. importlib.util – Utility code for importers

上個主題

29.2. codeop — Compile Python code

下個主題

30.1. imp — Access the import internals

本頁

  • 顯示原始碼

快速搜尋

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • 3.3.7 Documentation »
  • The Python Standard Library »
  • |
© 版權所有 1990-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

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