Data Compression and Archiving¶
The modules described in this chapter support data compression with the zlib,
gzip, bzip2, lzma, and zstd algorithms, and the creation of ZIP- and tar-format
archives. See also Archiving operations provided by the shutil
module.
- The
compressionpackage compression.zstd— Compression compatible with the Zstandard formatzlib— Mit gzip kompatible Kompressiongzip— Unterstützung für gzip-Dateienbz2— Unterstützung für bzip2-Kompressionlzma— Kompression mit dem LZMA-Algorithmuszipfile— Mit ZIP-Archiven arbeitentarfile— Read and write tar archive files