Compress.flush([mode]) All pending input is processed, and a bytes object containing the remaining compressed output is returned
flush() Finish the compression process. Returns the compressed data left in internal buffers. The
Decompress.unconsumed_tail A bytes object that contains any data that was not consumed by the last decompress()
class bz2.BZ2Decompressor Create a new decompressor object. This object may be used to decompress data incrementally. For one-shot
Decompress.decompress(data[, max_length]) Decompress data, returning a bytes object containing the uncompressed data
ZipInfo.external_attr External file attributes.
ZipFile.extract(member, path=None, pwd=None) Extract a member from the archive to the current working directory; member
TarFile.getnames() Return the members as a list of their names. It has the same order as the list returned by getmembers()
TarFile.extractfile(member) Extract a member from the archive as a file object. member may be a filename or a TarInfo
unused_data Data found after the end of the compressed stream. Before the end of the stream
Page 7 of 14