Staging: this is not the live site, pydocs.org.
Data Compression and Archiving bz2 Interface to the libbzip2 compression library.
This module provides a file interface, classes for incremental
(de)compression, and functions for one-shot (de)compression. © Python Software Foundation. PSF License Version 2 · Official docs ↗
Symbols in bz2 b BZ2Compressor Create a compressor object for compressing data incrementally. BZ2Decompressor Create a decompressor object for decompressing data incrementally. BZ2File A file object providing transparent bzip2 (de)compression. o open Open a bzip2-compressed file in binary or text mode.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF