导航

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

数据压缩和存档P

本章中描述的模块支持 zlib、gzip、bzip2 和 lzma 数据压缩算法,以及创建 ZIP 和 tar 格式的归档文件。参见由 shutil 模块提供的 归档操作 。

  • zlib --- 与 gzip 兼容的压缩
  • gzip --- 对 gzip 格式的支持
    • 用法示例
    • Command Line Interface
      • Command line options
  • bz2 --- 对 bzip2 压缩算法的支持
    • 文件压缩和解压
    • 增量压缩和解压
    • 一次性压缩或解压
    • 用法示例
  • lzma --- 用 LZMA 算法压缩
    • 读写压缩文件
    • Compressing and decompressing data in memory
    • 杂项
    • Specifying custom filter chains
    • 示例
  • zipfile --- 使用ZIP存档
    • ZipFile 对象
    • Path Objects
    • PyZipFile Objects
    • ZipInfo Objects
    • 命令行界面
      • 命令行选项
    • Decompression pitfalls
      • From file itself
      • File System limitations
      • Resources limitations
      • Interruption
      • Default behaviors of extraction
  • tarfile --- 读写tar归档文件
    • TarFile Objects
    • TarInfo Objects
    • 命令行界面
      • 命令行选项
    • 示例
    • Supported tar formats
    • Unicode issues

上一个主题

sqlite3 --- SQLite 数据库 DB-API 2.0 接口模块

下一个主题

zlib --- 与 gzip 兼容的压缩

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.9.0a2 文档 »
  • Python 标准库 »
  • |
© 版权所有 2001-2019, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 12月 19, 2019. Found a bug?
Created using Sphinx 2.2.1.