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.

Navegación

  • índice
  • módulos |
  • siguiente |
  • anterior |
  • Python »
  • 3.7.17 Documentation »
  • The Python Standard Library »
  • |

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 — Compresión compatible con 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
    • Examples
  • zipfile — Work with ZIP archives
    • ZipFile Objects
    • PyZipFile Objects
    • ZipInfo Objects
    • Command-Line Interface
      • Command-line options
  • tarfile — Read and write tar archive files
    • TarFile Objects
    • TarInfo Objects
    • Command-Line Interface
      • Command-line options
    • Examples
    • Supported tar formats
    • Unicode issues

Tema anterior

sqlite3 — DB-API 2.0 interface for SQLite databases

Próximo tema

zlib — Compresión compatible con gzip

Esta página

  • Reporta un Bug
  • Mostrar el código

Navegación

  • índice
  • módulos |
  • siguiente |
  • anterior |
  • Python »
  • 3.7.17 Documentation »
  • The Python Standard Library »
  • |
© Copyright 2001-2023, Python Software Foundation.
La PSF (*Python Software Fundation*) es una organización sin fines de lucro. Por favor, haga una donación.
Actualizado por última vez en jun 28, 2023. ¿Encontró un error?
Creado usando Sphinx 2.3.1.