ZipFile.write(filename, arcname=None, compress_type=None) Write the file named filename to the archive, giving it the
ZipInfo.create_version PKZIP version which created ZIP archive.
class zipfile.PyZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True, optimize=-1)
zlib.decompressobj(wbits=15[, zdict]) Returns a decompression object, to be used for decompressing data streams that won’t fit
tarfile.is_tarfile(name) Return
zlib.decompress(data[, wbits[, bufsize]]) Decompresses the bytes in data, returning a bytes object containing the uncompressed
ZipFile.setpassword(pwd) Set pwd as default password to extract encrypted files.
TarInfo.gid Group ID of the user who originally stored this member.
exception tarfile.HeaderError Is raised by TarInfo.frombuf() if the buffer it gets is invalid.
TarInfo.pax_headers A dictionary containing key-value pairs of an associated pax extended header.
Page 13 of 14