This document is for an old version of Python that is no longer supported. You should upgrade and read the Python 当前稳定版本的文档.

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • Python 2.7.18 說明文件 »
  • Python 標準函式庫 (Standard Library) »

31. 匯入模組¶

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. imp — Access the import internals
    • 31.1.1. Examples
  • 31.2. importlib — Convenience wrappers for __import__()
  • 31.3. imputil — Import utilities
    • 31.3.1. Examples
  • 31.4. zipimport — Import modules from Zip archives
    • 31.4.1. zipimporter Objects
    • 31.4.2. Examples
  • 31.5. pkgutil — Package extension utility
  • 31.6. modulefinder — Find modules used by a script
    • 31.6.1. Example usage of ModuleFinder
  • 31.7. runpy — Locating and executing Python modules

上個主題

30.2. Bastion — Restricting access to objects

下個主題

31.1. imp — Access the import internals

本頁

  • 顯示原始碼

快速搜尋

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • Python 2.7.18 說明文件 »
  • Python 標準函式庫 (Standard Library) »
© 版權所有 1990-2020, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on 6月 19, 2020. Found a bug?
Created using Sphinx 2.3.1.