Dokumen ini untuk versi lama Python yang tidak didukung lagi. Anda harus memutakhirkan, dan membaca Dokumentasi Python untuk rilis stabil saat ini.

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • 3.7.17 Documentation »
  • Pustaka Standar Python »
  • |

Kompresi Data dan PengarsipanΒΆ

Modul yang dijelaskan dalam bab ini mendukung kompresi data dengan algoritma zlib, gzip, bzip2 dan lzma, dan pembuatan arsip format-ZIP dan tar. Lihat juga Archiving operations yang disediakan oleh modul shutil.

  • zlib --- Compression compatible with gzip
  • gzip --- Support for gzip files
    • Examples of usage
  • 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
    • Contoh-contoh
  • zipfile --- Work with ZIP archives
    • Objek ZipFile
    • Objek PyZipFile
    • Objek ZipInfo
    • Command-Line Interface
      • Command-line options
  • tarfile --- Read and write tar archive files
    • Objek TarFile
    • Objek TarInfo
    • Command-Line Interface
      • Command-line options
    • Contoh-contoh
    • Supported tar formats
    • Unicode issues

Topik sebelumnya

sqlite3 --- DB-API 2.0 antarmuka untuk basisdata SQLite

Topik berikutnya

zlib --- Compression compatible with gzip

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • 3.7.17 Documentation »
  • Pustaka Standar Python »
  • |
© Hak Cipta 2001-2023, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Terakhir diperbarui pada Jun 28, 2023. Found a bug?
Created using Sphinx 2.3.1.