TarFile.next() Return the next member of the archive as a TarInfo object, when TarFile is opened for
classmethod TarInfo.fromtarfile(tarfile) Read the next member from the TarFile object tarfile and return
exception zipfile.BadZipfile Alias of BadZipFile, for compatibility with older Python versions.
zlib.adler32(data[, value]) Computes an Adler-32 checksum of data. (An Adler-32 checksum is almost as reliable as a
ZipFile.getinfo(name) Return a ZipInfo object with information about the archive member name. Calling
TarInfo.name Name of the archive member.
TarFile.add(name, arcname=None, recursive=True, exclude=None, *, filter=None) Add the file name to the archive. name
TarFile.list(verbose=True, *, members=None) Print a table of contents to sys.stdout. If verbose is
zipfile.is_zipfile(filename) Returns True if filename is a valid ZIP file based on its magic number, otherwise
classmethod TarFile.open(...) Alternative constructor. The tarfile.open() function is actually a shortcut to this
Page 9 of 14