Python logo

Poprzedni temat

sqlite3 — DB-API 2.0 interface for SQLite databases

Następny temat

zlib — Compression compatible with gzip

This page

  • Report a bug
  • Show source

Nawigacja

  • indeks
  • moduły |
  • dalej |
  • wstecz |
  • Python logo
  • Python »
  • 3.13.5 Documentation »
  • Biblioteka standardowa Pythona »
  • Data Compression and Archiving
  • |
  • |

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
    • Przykłady użycia
    • Interfejs linii komend
      • Opcje wiersza poleceń
  • bz2 — Support for bzip2 compression
    • (De)compression of files
    • Incremental (de)compression
    • One-shot (de)compression
    • Przykłady użycia
  • lzma — Compression using the LZMA algorithm
    • Reading and writing compressed files
    • Compressing and decompressing data in memory
    • Miscellaneous
    • Specifying custom filter chains
    • Przykłady
  • 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
    • Extraction filters
      • Default named filters
      • Filter errors
      • Hints for further verification
      • Supporting older Python versions
      • Stateful extraction filter example
    • Command-Line Interface
      • Command-line options
    • Przykłady
    • Supported tar formats
    • Unicode issues

Poprzedni temat

sqlite3 — DB-API 2.0 interface for SQLite databases

Następny temat

zlib — Compression compatible with gzip

This page

  • Report a bug
  • Show source
«

Nawigacja

  • indeks
  • moduły |
  • dalej |
  • wstecz |
  • Python logo
  • Python »
  • 3.13.5 Documentation »
  • Biblioteka standardowa Pythona »
  • Data Compression and Archiving
  • |
  • |
© Prawa autorskie 2001-2025, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

Ostatnia modyfikacja cze 19, 2025 (07:51 UTC). Found a bug?
Created using Sphinx 8.2.3.