flush() Finish the compression process, returning a
TarInfo.ischr() Return
gzip.compress(data, compresslevel=9) Compress the data, returning a
compress(data) Provide data to the compressor object. Returns a chunk of compressed data if possible, or an empty byte string
bz2.open(filename, mode='r', compresslevel=9, encoding=None, errors=None, newline=None) Open a bzip2-compressed file in binary
TarFile.addfile(tarinfo, fileobj=None) Add the TarInfo object tarinfo to the archive. If fileobj
class zipfile.ZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True) Open a ZIP file, where file can be either
decompress(data, max_length=-1) Decompress data (a bytes-like object), returning
mtime When decompressing, the value of the last modification time field in the most recently read header may be read from this
class zipfile.ZipInfo(filename='NoName', date_time=(1980, 1, 1, 0, 0, 0)) Class used to represent information about a member
Page 4 of 14