ZipInfo.extra Expansion field data. The
TarFile.addfile(tarinfo, fileobj=None) Add the TarInfo object tarinfo to the archive. If fileobj
TarFile.getmembers() Return the members of the archive as a list of TarInfo objects. The list has the same order
flush() Finish the compression process, returning a
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
class zipfile.ZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True) Open a ZIP file, where file can be either
ZipInfo.date_time The time and date of the last modification to the archive member. This is a tuple of six values:
ZipInfo.extract_version PKZIP version needed to extract archive.
zlib.compress(data[, level]) Compresses the bytes in data, returning a bytes object containing compressed data. level
Page 5 of 14