Lines Matching refs:ZIP

1 :mod:`zipfile` --- Work with ZIP archives
5 :synopsis: Read and write ZIP-format archive files.
14 The ZIP file format is a common archive and compression standard. This module
15 provides tools to create, read, write, append, and list a ZIP file. Any
19 This module does not currently handle multi-disk ZIP files.
20 It can handle ZIP files that use the ZIP64 extensions
21 (that is ZIP files that are more than 4 GiB in size). It supports
22 decryption of encrypted files in ZIP archives, but it currently cannot
30 The error raised for bad ZIP files.
44 The error raised when a ZIP file would require ZIP64 functionality but that has
51 The class for reading and writing ZIP files. See section
67 Class for creating ZIP archives containing Python libraries.
84 Returns ``True`` if *filename* is a valid ZIP file based on its magic number,
98 The numeric constant for the usual ZIP compression method. This requires the
118 The ZIP file format specification has included support for bzip2 compression
121 methods, and may either refuse to process the ZIP file altogether,
128 Documentation on the ZIP file format by Phil Katz, the creator of the format and
131 `Info-ZIP Home Page <http://www.info-zip.org/>`_
132 Information about the Info-ZIP project's ZIP archive programs and development
145 Open a ZIP file, where *file* can be a path to a file (a string), a
153 If *mode* is ``'a'`` and *file* refers to an existing ZIP
155 ZIP file, then a new ZIP archive is appended to the file. This is meant for
156 adding a ZIP archive to another file (such as :file:`python.exe`). If
160 *compression* is the ZIP compression method to use when writing the archive,
168 If *allowZip64* is ``True`` (the default) zipfile will create ZIP files that
170 ``false`` :mod:`zipfile` will raise an exception when the ZIP file would
189 ZIP structures for an empty archive will be written to the file.
241 archive. The objects are in the same order as their entries in the actual ZIP
255 or ``'w'``. *pwd* is the password used to decrypt encrypted ZIP files.
273 attempting to read or write other files in the ZIP file will raise a
286 ZIP file that contains members with duplicate names.
451 Name of the ZIP file.
461 The comment associated with the ZIP file as a :class:`bytes` object.
619 information about a single member of the ZIP archive.
690 The ZIP file format does not support timestamps before 1980.
712 System which created ZIP archive.
717 PKZIP version which created ZIP archive.
732 ZIP flag bits.
777 with ZIP archives.
779 If you want to create a new ZIP archive, specify its name after the :option:`-c`
792 If you want to extract a ZIP archive into the specified directory, use
799 For a list of the files in a ZIP archive, use the :option:`-l` option:
837 Decompression may fail due to incorrect password / CRC checksum / ZIP format or
851 failed. For example, decompression bombs (aka `ZIP bomb`_)