瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • zh_TW 3.9.0a0 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • |

資料壓縮與保存¶

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.

  • zlib --- Compression compatible with gzip
  • gzip --- Support for gzip files
    • Examples of usage
    • Command Line Interface
      • Command line options
  • bz2 --- Support for bzip2 compression
    • (De)compression of files
    • Incremental (de)compression
    • One-shot (de)compression
    • 用法示例
  • lzma --- Compression using the LZMA algorithm
    • Reading and writing compressed files
    • Compressing and decompressing data in memory
    • Miscellaneous
    • Specifying custom filter chains
    • Examples
  • zipfile --- Work with ZIP archives
    • ZipFile Objects
    • Path Objects
    • PyZipFile Objects
    • ZipInfo Objects
    • Command-Line Interface
      • Command-line options
    • Decompression pitfalls
      • From file itself
      • File System limitations
      • Resources limitations
      • Interruption
      • Default behaviors of extraction
  • tarfile --- Read and write tar archive files
    • TarFile Objects
    • TarInfo Objects
    • Command-Line Interface
      • Command-line options
    • Examples
    • Supported tar formats
    • Unicode issues

上個主題

sqlite3 --- DB-API 2.0 interface for SQLite databases

下個主題

zlib --- Compression compatible with gzip

本頁

  • Report a Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • zh_TW 3.9.0a0 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • |
© 版權所有 2001-2019, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 11月 19, 2019。 Found a bug?
Created using Sphinx 2.0.1.