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
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
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
zipfile.ZipInfo.extract_version
  • References/Python/Python/Data Compression

ZipInfo.extract_version PKZIP version needed to extract 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
zipfile.ZipFile.namelist()
  • References/Python/Python/Data Compression

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

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
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
zipfile.ZipInfo.extra
  • References/Python/Python/Data Compression

ZipInfo.extra Expansion field data. The

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

TarFile.addfile(tarinfo, fileobj=None) Add the TarInfo object tarinfo to the archive. If fileobj

2025-01-10 15:47:30