The modules described in this chapter support data compression with the zlib,
gzip, bzip2 and lzma algorithms, and the creation of ZIP- and tar-format
archives. See also Archiving operations provided by the shutil
module.
zlib
--- Compression compatible with gzipgzip
--- Support for gzip filesbz2
--- Support for bzip2 compressionlzma
--- Compression using the LZMA algorithmzipfile
--- Work with ZIP archives- ZipFile Objects
- PyZipFile Objects
- ZipInfo Objects
- Command-Line Interface
tarfile
--- Read and write tar archive files