W3cubDocs

/Python 3.14

Data Compression and Archiving

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

© 2001–2025 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.14/library/archiving.html