This document is for an old version of Python that is no longer supported. You should upgrade and read the Dokumentasi Python untuk rilis stabil saat ini.

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • id 2.7.18 Documentation »
  • Pustaka Standar Python »

12. Kompresi Data dan PengarsipanΒΆ

The modules described in this chapter support data compression with the zlib, gzip, and bzip2 algorithms, and the creation of ZIP- and tar-format archives. See also Archiving operations provided by the shutil module.

  • 12.1. zlib --- Compression compatible with gzip
  • 12.2. gzip --- Support for gzip files
    • 12.2.1. Examples of usage
  • 12.3. bz2 --- Compression compatible with bzip2
    • 12.3.1. (De)compression of files
    • 12.3.2. Sequential (de)compression
    • 12.3.3. One-shot (de)compression
  • 12.4. zipfile --- Work with ZIP archives
    • 12.4.1. Objek ZipFile
    • 12.4.2. Objek PyZipFile
    • 12.4.3. Objek ZipInfo
    • 12.4.4. Command-Line Interface
      • 12.4.4.1. Command-line options
  • 12.5. tarfile --- Read and write tar archive files
    • 12.5.1. Objek TarFile
    • 12.5.2. Objek TarInfo
    • 12.5.3. Contoh-contoh
    • 12.5.4. Supported tar formats
    • 12.5.5. Unicode issues

Topik sebelumnya

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

Topik berikutnya

12.1. zlib --- Compression compatible with gzip

Halaman Ini

  • Lihat Sumber

Pencarian cepat

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • id 2.7.18 Documentation »
  • Pustaka Standar Python »
© Hak Cipta 1990-2020, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Mei 20, 2020. Found a bug?
Created using Sphinx 2.3.1.