就业培训     下载中心     Wiki     联络
登录   注册

Log
  1. 首页
  2. Python 3.5.4
  3. 索引
  4. 模块
  5. 下一
  6. 上一
  7. Python
  8. 3.5.4 Documentation
  9. Python 标准库 »

31. 导入模块 ¶

The modules described in this chapter provide new ways to import other Python modules and hooks for customizing the import process.

此章描述的完整模块列表:

  • 31.1. zipimport — 导入模块从 Zip 存档
    • 31.1.1. zipimporter Objects
    • 31.1.2. Examples
  • 31.2. pkgutil — 包扩展实用程序
  • 31.3. modulefinder — 查找用于脚本的模块
    • 31.3.1. Example usage of ModuleFinder
  • 31.4. runpy — 定位和执行 Python 模块
  • 31.5. importlib — 实现为 import
    • 31.5.1. Introduction
    • 31.5.2. Functions
    • 31.5.3. importlib.abc – 导入相关 ABC (抽象基类)
    • 31.5.4. importlib.machinery – 导入器和路径挂钩
    • 31.5.5. importlib.util – 用于导入器的实用程序代码

上一话题

30.2. codeop — 编译 Python 代码

下一话题

31.1. zipimport — 导入模块从 Zip 存档

本页

  • 报告 Bug
  • 展示源
  1. 首页
  2. Python 3.5.4
  3. 索引
  4. 模块
  5. 下一
  6. 上一
  7. Python
  8. 3.5.4 Documentation
  9. Python 标准库

版权所有  © 2014-2026 乐数软件    

工业和信息化部: 粤ICP备14079481号-1