ZipInfo.extra Expansion field data. The
ZipInfo.extract_version PKZIP version needed to extract archive.
TarInfo.ischr() Return
TarFile.addfile(tarinfo, fileobj=None) Add the TarInfo object tarinfo to the archive. If fileobj
class zipfile.ZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True) Open a ZIP file, where file can be either
peek(size=-1) Return buffered data without advancing the file position. At least one byte of data will be returned, unless EOF
flush() Finish the compression process, returning a
gzip.open(filename, mode='rb', compresslevel=9, encoding=None, errors=None, newline=None) Open a gzip-compressed file in binary
bz2.open(filename, mode='r', compresslevel=9, encoding=None, errors=None, newline=None) Open a bzip2-compressed file in binary
lzma.open(filename, mode="rb", *, format=None, check=-1, preset=None, filters=None, encoding=None, errors=None, newline=None) Open
Page 4 of 14