zipfile

Read and write ZIP files.

Functions

crc32 crc32(string[, start]) – Compute a CRC-32 checksum of string.
is_zipfile(filename) Quickly see if a file is a ZIP file by checking the magic number.
main([args])

Classes

PyZipFile(file[, mode, compression, allowZip64]) Class to create ZIP archives with Python library files and packages.
ZipExtFile(fileobj, mode, zipinfo[, ...]) File-like object for reading an archive member.
ZipFile(file[, mode, compression, allowZip64]) Class with methods to open, read, write, close, list zip files.
ZipInfo([filename, date_time]) Class with attributes describing each file in the ZIP archive.

Exceptions

BadZipfile
LargeZipFile Raised when writing a zipfile, the zipfile requires ZIP64 extensions and those extensions are disabled.
error alias of BadZipfile