gzip.open(filename, mode='rb', compresslevel=9, encoding=None, errors=None, newline=None) Open a gzip-compressed file in binary
ZipInfo.extract_version PKZIP version needed to extract archive.
TarInfo.ischr() Return
TarFile.close() Close the TarFile. In write mode, two finishing zero blocks are appended to the archive.
gzip.compress(data, compresslevel=9) Compress the data, returning a
bz2.open(filename, mode='r', compresslevel=9, encoding=None, errors=None, newline=None) Open a bzip2-compressed file in binary
peek(size=-1) Return buffered data without advancing the file position. At least one byte of data will be returned, unless EOF
ZipFile.namelist() Return a list of archive members by name.
decompress(data, max_length=-1) Decompress data (a bytes-like object), returning
compress(data) Provide data to the compressor object. Returns a chunk of compressed data if possible, or an empty byte string
Page 4 of 14