导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.6.7 文档 »
  • Python 标准库 »
  • |

13. 数据压缩和存档¶

本章中描述的模块支持使用 zlib、gzip、bzip2 和 lzma 算法进行数据压缩,以及创建 ZIP 和 tar-format 档案。参见 Archiving operations 由 shutil 模块提供。

  • 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. 示例
  • 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. 示例
    • 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

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.6.7 文档 »
  • Python 标准库 »
  • |
© 版权所有 2001-2018, Python Software Foundation.
Python 软件基金会是一个非盈利组织。 请捐助。
最后更新于 10月 25, 2018. 发现了问题?
使用Sphinx1.8.1 创建。