导航

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

数据压缩和存档¶

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

  • 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
    • 示例
  • zipfile --- Work with ZIP archives
    • ZipFile Objects
    • PyZipFile Objects
    • ZipInfo Objects
    • Command-Line Interface
      • Command-line options
  • tarfile --- Read and write tar archive files
    • TarFile Objects
    • TarInfo Objects
    • Command-Line Interface
      • Command-line options
    • 示例
    • Supported tar formats
    • Unicode issues

上一个主题

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

下一个主题

zlib --- Compression compatible with gzip

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.8.0a2 文档 »
  • Python 标准库 »
  • |
© 版权所有 2001-2019, Python Software Foundation.
Python 软件基金会是一个非盈利组织。 请捐助。

最后更新于 3月 26, 2019. Found a bug?
使用Sphinx1.8.4 创建。