ActiveState homepage
docs.activestate.com
ActivePython 2.7.18 Documentation
  • Get ActivePython
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      What's included Linux macOS Windows Python 2.7.18 docs Package Reference
  • Contact Us

31. Importing Modules — Python 2.7.18 documentation
This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • en 2.7.18 Documentation »
  • The Python Standard Library »

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

  • 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

Previous topic

30.2. Bastion — Restricting access to objects

Next topic

31.1. imp — Access the import internals

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • en 2.7.18 Documentation »
  • The Python Standard Library »
© Copyright 1990-2020, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Apr 20, 2020. Found a bug?
Created using Sphinx 2.3.1.
Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.