PyDocs

Importing Modules

zipimport

zipimport provides support for importing Python modules from Zip archives.

This module exports two objects:
- zipimporter: a class; its constructor takes a path to a Zip archive.
- ZipImportError: exception raised by zipimporter objects. It's a
  subclass of ImportError, so it can be caught as ImportError, too.

It is usually not needed to use the zipimport module explicitly; it is
used by the builtin import mechanism for sys.path items that are paths
to Zip archives.
Symbols in zipimport

z

zipimporter
Create a new zipimporter instance.
ZipImportError
Exception raised by zipimporter objects.