bz2
bz2 — Support for bzip2 compression
Source code: Lib/bz2.py
This module provides a comprehensive interface for compressing and decompressing data using the bzip2 compression algorithm.
The bz2
module contains:
- The
open()
function andBZ2File
class for reading and writing compressed files. - The
BZ2Compressor
and 登录查看完整内容