ZipFile.writestr(zinfo_or_arcname, data[, compress_type]) Write the string data to the archive; zinfo_or_arcname
ZipInfo.file_size Size of the uncompressed file.
exception zlib.error Exception raised on compression and decompression errors.
ZipInfo.flag_bits ZIP flag bits.
ZipInfo.CRC CRC-32 of the uncompressed file.
ZipInfo.internal_attr Internal attributes.
check The ID of the integrity check used by the input stream. This may be CHECK_UNKNOWN until enough of the input
exception lzma.LZMAError This exception is raised when an error occurs during compression or decompression, or while initializing
ZipInfo.volume Volume number of file header.
bz2.compress(data, compresslevel=9) Compress data. compresslevel, if given
Page 3 of 14