exception tarfile.CompressionError Is raised when a compression method is not supported or when the data cannot be decoded properly
ZipFile.close() Close the archive file. You must call close() before exiting your program or essential records
ZipFile.writestr(zinfo_or_arcname, data[, compress_type]) Write the string data to the archive; zinfo_or_arcname
ZipInfo.internal_attr Internal attributes.
lzma.compress(data, format=FORMAT_XZ, check=-1, preset=None, filters=None) Compress data (a
Decompress.flush([length]) All pending input is processed, and a bytes object containing the remaining uncompressed output is
peek(n) Read n uncompressed bytes without advancing the file position. At most one single read on the compressed stream
class lzma.LZMADecompressor(format=FORMAT_AUTO, memlimit=None, filters=None) Create a decompressor object, which can be used
ZipInfo.file_size Size of the uncompressed file.
TarFile.gettarinfo(name=None, arcname=None, fileobj=None) Create a TarInfo object from the result of
Page 3 of 14