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. 本章描述的模块支持使用zlib、gzip、bzip2和lzma算法进行数据压缩,以及创建ZIP和tar格式的归档文件。See also Archiving operations provided by the shutil module.另请参见shutil模块提供的归档操作