Python logo

Vorheriges Thema

sqlite3 — DB-API 2.0 interface for SQLite databases

Nächstes Thema

zlib — Compression compatible with gzip

Diese Seite

  • Fehler melden
  • Quelltext anzeigen
  • Quelltext der Übersetzung anzeigen

Navigation

  • Index
  • Module |
  • weiter |
  • zurück |
  • Python logo
  • Python »
  • 3.13.16 Documentation »
  • The Python standard library »
  • 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
    • 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
    • Examples of usage
  • lzma — Compression using the LZMA algorithm
    • Reading and writing compressed files
    • Compressing and decompressing data in memory
    • Miscellaneous
    • Specifying custom filter chains
    • Constants
    • Beispiele
  • 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
    • Beispiele
      • Reading examples
      • Writing examples
    • Supported tar formats
    • Unicode issues

Vorheriges Thema

sqlite3 — DB-API 2.0 interface for SQLite databases

Nächstes Thema

zlib — Compression compatible with gzip

Diese Seite

  • Fehler melden
  • Quelltext anzeigen
  • Quelltext der Übersetzung anzeigen
«

Navigation

  • Index
  • Module |
  • weiter |
  • zurück |
  • Python logo
  • Python »
  • 3.13.16 Documentation »
  • The Python standard library »
  • Data Compression and Archiving
  • |
  • |
© Copyright 2001-2026, Python Software Foundation.
Diese Seite ist unter der Python Software Foundation License Version 2 lizenziert.
Beispiele, Rezepte und anderer Code in der Dokumentation sind zusätzlich unter der Zero Clause BSD-Lizenz lizenziert.
Weitere Informationen finden Sie unter Verlauf und Lizenz.

Die Python Software Foundation ist eine gemeinnützige Organisation. Spenden Sie bitte.

Zuletzt aktualisiert am Okt. 01, 2026 (13:13 UTC). Fehler gefunden?
Erstellt mit Sphinx8.2.3.