Docs4dev
Docs
Docs4dev
  • Tools
  • Privacy
  • GitHub

Search

Loading search index…

No recent searches

No results for "Query here"

  • to select
  • to navigate
  • to close

Search by FlexSearch

On this page

On this page
python / 2.7.15 / all / library-modules.html

31. Importing Modules

本章描述的模块提供了导入其他 Python 模块的新方法以及用于自定义导入过程的钩子。

本章描述的模块的完整列表为:

  • 31 .1. imp —访问导入内部

  • 31.1.1. Examples

  • 31 .2. importlib — __import __()的便捷包装

  • 31 .3. imputil —导入 Util

  • 31.3.1. Examples

  • 31 .4. zipimport —从 Zip 存档导入模块

  • 31 .4.1. zipimporter 对象

    • 31.4.2. Examples
  • 31 .5. pkgutil —软件包扩展 Util

  • 31 .6. modulefinder —查找脚本使用的模块

  • 31 .6.1. ModuleFinder 的用法示例

  • 31 .7. runpy —查找和执行 Python 模块

  • Privacy Policy
  • 蜀ICP备14021783号-6
  • Brought to you by Docs4dev