Data Compression and ArchivingΒΆ
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 archivestarfileβ Read and write tar archive files