Logo

上個主題

12.6. sqlite3 — DB-API 2.0 interface for SQLite databases

下個主題

13.1. zlib — Compression compatible with gzip

本頁

  • Report a Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • 3.5.10 Documentation »
  • The Python Standard Library »
  • |

13. 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.

  • 13.1. zlib — Compression compatible with gzip
  • 13.2. gzip — Support for gzip files
    • 13.2.1. Examples of usage
  • 13.3. bz2 — Support for bzip2 compression
    • 13.3.1. (De)compression of files
    • 13.3.2. Incremental (de)compression
    • 13.3.3. One-shot (de)compression
  • 13.4. lzma — Compression using the LZMA algorithm
    • 13.4.1. Reading and writing compressed files
    • 13.4.2. Compressing and decompressing data in memory
    • 13.4.3. Miscellaneous
    • 13.4.4. Specifying custom filter chains
    • 13.4.5. Examples
  • 13.5. zipfile — Work with ZIP archives
    • 13.5.1. ZipFile Objects
    • 13.5.2. PyZipFile Objects
    • 13.5.3. ZipInfo Objects
    • 13.5.4. Command-Line Interface
      • 13.5.4.1. Command-line options
  • 13.6. tarfile — Read and write tar archive files
    • 13.6.1. TarFile Objects
    • 13.6.2. TarInfo Objects
    • 13.6.3. Command-Line Interface
      • 13.6.3.1. Command-line options
    • 13.6.4. Examples
    • 13.6.5. Supported tar formats
    • 13.6.6. Unicode issues

上個主題

12.6. sqlite3 — DB-API 2.0 interface for SQLite databases

下個主題

13.1. zlib — Compression compatible with gzip

本頁

  • Report a Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • 3.5.10 Documentation »
  • The Python Standard Library »
  • |
© 版權所有 2001-2025, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

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