資料壓縮和歸檔

本章描述的模組支援使用 zlib、gzip、bzip2 和 lzma 演算法進行資料壓縮,以及建立 ZIP 和 tar 格式的歸檔檔案。另請參閱 歸檔操作,該操作由 shutil 模組提供。