12. Data Compression and Archiving¶
The modules described in this chapter support data compression with the zlib,
gzip, and bzip2 algorithms, and  the creation of ZIP- and tar-format archives.
See also Archiving operations provided by the shutil module.
- 12.1. 
zlib— Compression compatible with gzip - 12.2. 
gzip— Support for gzip files - 12.3. 
bz2— Compression compatible with bzip2 - 12.4. 
zipfile— Work with ZIP archives - 12.5. 
tarfile— Read and write tar archive files 
