Lines Matching refs:ZIP
5 :synopsis: Support for importing Python modules from ZIP archives.
14 :file:`\*.pyc`) and packages from ZIP-format archives. It is usually not
17 to ZIP archives.
20 also allows an item of :data:`sys.path` to be a string naming a ZIP file archive.
21 The ZIP archive can contain a subdirectory structure to support package imports,
26 Any files may be present in the ZIP archive, but only files :file:`.py` and
27 :file:`.pyc` are available for import. ZIP import of dynamic modules
30 corresponding :file:`.pyc` file, meaning that if a ZIP archive
34 Previously, ZIP archives with an archive comment were not supported.
39 Documentation on the ZIP file format by Phil Katz, the creator of the format and
64 :class:`zipimporter` is the class for importing ZIP files.
68 Create a new zipimporter instance. *archivepath* must be a path to a ZIP
69 file, or to a specific path within a ZIP file. For example, an *archivepath*
71 inside the ZIP file :file:`foo/bar.zip` (provided that it exists).
73 :exc:`ZipImportError` is raised if *archivepath* doesn't point to a valid ZIP
132 The file name of the importer's associated ZIP file, without a possible
138 The subpath within the ZIP file where modules are searched. This is the
139 empty string for zipimporter objects which point to the root of the ZIP
152 Here is an example that imports a module from a ZIP archive - note that the