advanced use of this module will require an understanding of the format, as
defined in `PKZIP Application Note`_.
-This module does not currently handle multi-disk ZIP files.
+This module does not handle multipart ZIP files.
It can handle ZIP files that use the ZIP64 extensions
(that is ZIP files that are more than 4 GiB in size). It supports
-decryption of encrypted files in ZIP archives, but it currently cannot
+decryption of encrypted files in ZIP archives, but it cannot
create an encrypted file. Decryption is extremely slow as it is
implemented in native Python rather than C.
.. _zipfile-objects:
-ZipFile Objects
+ZipFile objects
---------------
.. note::
*metadata_encoding* is an instance-wide setting for the ZipFile.
- It is not currently possible to set this on a per-member basis.
+ It is not possible to set this on a per-member basis.
This attribute is a workaround for legacy implementations which produce
archives with names in the current locale encoding or code page (mostly
.. _path-objects:
-Path Objects
+Path objects
------------
.. class:: Path(root, at='')
.. _pyzipfile-objects:
-PyZipFile Objects
+PyZipFile objects
-----------------
The :class:`PyZipFile` constructor takes the same parameters as the
.. _zipinfo-objects:
-ZipInfo Objects
+ZipInfo objects
---------------
Instances of the :class:`ZipInfo` class are returned by the :meth:`.getinfo` and
.. _zipfile-commandline:
.. program:: zipfile
-Command-Line Interface
+Command-line interface
----------------------
The :mod:`zipfile` module provides a simple command-line interface to interact
Decompression may fail due to incorrect password / CRC checksum / ZIP format or
unsupported compression method / decryption.
-File System limitations
+File system limitations
~~~~~~~~~~~~~~~~~~~~~~~
Exceeding limitations on different file systems can cause decompression failed.