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.5.10 Documentation »
  • Pustaka Standar Python »
  • |

13. 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.

  • 13.1. zlib --- Compression compatible with gzip
  • 13.2. gzip --- Support for gzip files
    • 13.2.1. Examples of usage
  • 13.3. bz2 --- Support for bzip2 compression
    • 13.3.1. (De)compression of files
    • 13.3.2. Incremental (de)compression
    • 13.3.3. One-shot (de)compression
  • 13.4. lzma --- Compression using the LZMA algorithm
    • 13.4.1. Reading and writing compressed files
    • 13.4.2. Compressing and decompressing data in memory
    • 13.4.3. Miscellaneous
    • 13.4.4. Specifying custom filter chains
    • 13.4.5. Contoh-contoh
  • 13.5. zipfile --- Work with ZIP archives
    • 13.5.1. Objek ZipFile
    • 13.5.2. Objek PyZipFile
    • 13.5.3. Objek ZipInfo
    • 13.5.4. Command-Line Interface
      • 13.5.4.1. Command-line options
  • 13.6. tarfile --- Read and write tar archive files
    • 13.6.1. Objek TarFile
    • 13.6.2. Objek TarInfo
    • 13.6.3. Command-Line Interface
      • 13.6.3.1. Command-line options
    • 13.6.4. Contoh-contoh
    • 13.6.5. Supported tar formats
    • 13.6.6. Unicode issues

Topik sebelum

12.6. sqlite3 --- DB-API 2.0 interface for SQLite databases

Topik berikutnya

13.1. zlib --- Compression compatible with gzip

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • 3.5.10 Documentation »
  • Pustaka Standar Python »
  • |
© Copyright 2001-2020, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Terakhir diperbarui pada Des 18, 2020. Found a bug?
Created using Sphinx 1.8.4.