Python logo

Προηγούμενο θέμα

sqlite3 — DB-API 2.0 interface for SQLite databases

Επόμενο θέμα

zlib — Compression compatible with gzip

This page

  • Report a bug
  • Show source

Πλοήγηση

  • ευρετήριο
  • μονάδες |
  • επόμενο |
  • προηγούμενο |
  • Python logo
  • Python »
  • 3.13.7 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 — Υποστήριξη για αρχεία gzip
    • Παραδείγματα χρήσης
    • Διεπαφή Γραμμής Εντολών
      • Επιλογές γραμμής εντολών
  • 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
    • Examples
  • 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
    • Examples
      • Reading examples
      • Writing examples
    • Supported tar formats
    • Unicode issues

Προηγούμενο θέμα

sqlite3 — DB-API 2.0 interface for SQLite databases

Επόμενο θέμα

zlib — Compression compatible with gzip

This page

  • Report a bug
  • Show source
«

Πλοήγηση

  • ευρετήριο
  • μονάδες |
  • επόμενο |
  • προηγούμενο |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • The Python Standard Library »
  • Data Compression and Archiving
  • |
  • |
© Πνευματικά δικαιώματα 2001-2025, Python Software Foundation.
Η σελίδα αυτή διατίθεται υπό την άδεια χρήσης του Python Software Foundation, 2η έκδοση.
Παραδείγματα, οδηγοί και λοιπά κομμάτια κώδικα στην τεκμηρίωση διατίθενται επιπλέον υπό την άδεια χρήσης Zero Clause BSD.
Δες την Ιστορία και Άδεια χρήσης για περισσότερες πληροφορίες.

Το Python Software Foundation είναι ένας μη κερδοσκοπικός οργανισμός. Παρακαλώ κάντε μια δωρεά.

Τελευταία ενημέρωση στις Σεπ 29, 2025 (07:26 UTC). Βρήκες ένα bug?
Δημιουργήθηκε με την χρήση του Sphinx 8.2.3.