1 0 ?χ 12.3. bz2 β€” Compression compatible with bzip2 — Python 2.7.5 documentation

12.3. bz2 — Compression compatible with bzip2ΒΆ

New in version 2.3.

This module provides a comprehensive interface for the bz2 compression library. It implements a complete file interface, one-shot (de)compression functions, and types for sequential (de)compression.

Here is a summary of the features offered by the bz2 module: