瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • Python 3.0.1 說明文件 »
  • The Python Standard Library »
  • |

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.

  • zlib — Compression compatible with gzip
  • gzip — Support for gzip files
    • Examples of usage
  • bz2 — Compression compatible with bzip2
    • (De)compression of files
    • Sequential (de)compression
    • One-shot (de)compression
  • zipfile — Work with ZIP archives
    • ZipFile Objects
    • PyZipFile Objects
    • ZipInfo Objects
  • tarfile — Read and write tar archive files
    • TarFile Objects
    • TarInfo Objects
    • Examples
    • Supported tar formats
    • Unicode issues

上個主題

sqlite3 — DB-API 2.0 interface for SQLite databases

下個主題

zlib — Compression compatible with gzip

本頁

  • 顯示原始碼

快速搜尋

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • Python 3.0.1 說明文件 »
  • The Python Standard Library »
  • |
© 版權所有 1990-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 8月 10, 2025。
Created using Sphinx 1.8.4.