Lines Matching refs:ZIP
5 :synopsis: support for importing Python modules from ZIP archives.
12 :file:`\*.pyc`) and packages from ZIP-format archives. It is usually not
15 to ZIP archives.
18 also allows an item of :data:`sys.path` to be a string naming a ZIP file archive.
19 The ZIP archive can contain a subdirectory structure to support package imports,
24 Any files may be present in the ZIP archive, but only files :file:`.py` and
25 :file:`.pyc` are available for import. ZIP import of dynamic modules
28 corresponding :file:`.pyc` file, meaning that if a ZIP archive
31 ZIP archives with an archive comment are currently not supported.
36 Documentation on the ZIP file format by Phil Katz, the creator of the format and
61 :class:`zipimporter` is the class for importing ZIP files.
65 Create a new zipimporter instance. *archivepath* must be a path to a ZIP
66 file, or to a specific path within a ZIP file. For example, an *archivepath*
68 inside the ZIP file :file:`foo/bar.zip` (provided that it exists).
70 :exc:`ZipImportError` is raised if *archivepath* doesn't point to a valid ZIP
129 The file name of the importer's associated ZIP file, without a possible
135 The subpath within the ZIP file where modules are searched. This is the
136 empty string for zipimporter objects which point to the root of the ZIP
149 Here is an example that imports a module from a ZIP archive - note that the