Compress zip in python

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.

  • zlib — Compression compatible with gzip
  • gzip — Support for gzip files
    • Examples of usage
    • Command Line Interface
      • Command line options
      • (De)compression of files
      • Incremental (de)compression
      • One-shot (de)compression
      • Examples of usage
      • Reading and writing compressed files
      • Compressing and decompressing data in memory
      • Miscellaneous
      • Specifying custom filter chains
      • Examples
      • ZipFile Objects
      • Path Objects
      • PyZipFile Objects
      • ZipInfo Objects
      • Command-Line Interface
        • Command-line options
        • From file itself
        • File System limitations
        • Resources limitations
        • Interruption
        • Default behaviors of extraction
Оцените статью