Data Compression

Python’s standard library has a rich collection of modules for data compression and archiving. One can select whichever is suitable for his job.

There are following modules related to data compression −

Sr.No.Module & Description
1zlibCompression compatible with gzip.
2gzipSupport for gzip files.
3bz2Support for bz2 compression.
4lzmaCompression using the LZMA algorithm.
5zipfileWork with ZIP archives.
6tarfilevRead and write tar archive files.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *