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