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. imputil — Import utilities
    • 30.2.1. Examples
  • 30.3. zipimport — Import modules from Zip archives
    • 30.3.1. zipimporter Objects
    • 30.3.2. Examples
  • 30.4. pkgutil — Package extension utility
  • 30.5. modulefinder — Find modules used by a script
    • 30.5.1. Example usage of ModuleFinder
  • 30.6. runpy — Locating and executing Python modules

Related Topics

  • Documentation overview
    • The Python Standard Library
      • Previous: 29.2. Bastion — Restricting access to objects
      • Next: 30.1. imp — Access the import internals

This Page

  • Report a Bug
  • Show Source

Quick search

Enter search terms or a module, class or function name.

© Copyright 1990-2016, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on May 11, 2016. Found a bug?
Created using Sphinx 1.3.6.