This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release.

Navigation

  • index
  • modules |
  • suivant |
  • précédent |
  • Python »
  • Documentation Python 2.7.18 »
  • La bibliothèque standard »

12. Compression de donnée et archivage¶

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 avec gzip
  • 12.2. gzip — Support pour les fichiers gzip
    • 12.2.1. Exemples d’utilisation
  • 12.3. bz2 — Compression compatible with bzip2
    • 12.3.1. (Dé)compression de fichiers
    • 12.3.2. Sequential (de)compression
    • 12.3.3. (Dé)compression en une fois
  • 12.4. zipfile — Travailler avec des archives ZIP
    • 12.4.1. Objets ZipFile
    • 12.4.2. Objets PyZipFile
    • 12.4.3. Objets 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. TarFile Objects
    • 12.5.2. TarInfo Objects
    • 12.5.3. Exemples
    • 12.5.4. Supported tar formats
    • 12.5.5. Unicode issues

Sujet précédent

11.13. sqlite3 — Interface DB-API 2.0 pour bases de données SQLite

Sujet suivant

12.1. zlib — Compression compatible avec gzip

Cette page

  • Montrer le code source

Recherche rapide

Navigation

  • index
  • modules |
  • suivant |
  • précédent |
  • Python »
  • Documentation Python 2.7.18 »
  • La bibliothèque standard »
© Copyright 1990-2020, Python Software Foundation.
La Python Software Foundation est une organisation à but non lucratif. Les dons sont bienvenus.
Dernière mise à jour le juin 19, 2020. Vous avez trouvé un bug ?
Créé via Sphinx 2.3.1.