gzip.open()
  • References/Python/Python/Data Compression

gzip.open(filename, mode='rb', compresslevel=9, encoding=None, errors=None, newline=None) Open a gzip-compressed file in binary

2025-01-10 15:47:30
zipfile.ZipInfo.extract_version
  • References/Python/Python/Data Compression

ZipInfo.extract_version PKZIP version needed to extract archive.

2025-01-10 15:47:30
tarfile.TarInfo.ischr()
  • References/Python/Python/Data Compression

TarInfo.ischr() Return

2025-01-10 15:47:30
tarfile.TarFile.close()
  • References/Python/Python/Data Compression

TarFile.close() Close the TarFile. In write mode, two finishing zero blocks are appended to the archive.

2025-01-10 15:47:30
gzip.compress()
  • References/Python/Python/Data Compression

gzip.compress(data, compresslevel=9) Compress the data, returning a

2025-01-10 15:47:30
bz2.open()
  • References/Python/Python/Data Compression

bz2.open(filename, mode='r', compresslevel=9, encoding=None, errors=None, newline=None) Open a bzip2-compressed file in binary

2025-01-10 15:47:30
lzma.LZMAFile.peek()
  • References/Python/Python/Data Compression

peek(size=-1) Return buffered data without advancing the file position. At least one byte of data will be returned, unless EOF

2025-01-10 15:47:30
zipfile.ZipFile.namelist()
  • References/Python/Python/Data Compression

ZipFile.namelist() Return a list of archive members by name.

2025-01-10 15:47:30
lzma.LZMADecompressor.decompress()
  • References/Python/Python/Data Compression

decompress(data, max_length=-1) Decompress data (a bytes-like object), returning

2025-01-10 15:47:30
bz2.BZ2Compressor.compress()
  • References/Python/Python/Data Compression

compress(data) Provide data to the compressor object. Returns a chunk of compressed data if possible, or an empty byte string

2025-01-10 15:47:30