tarfile.TarInfo.isdev()
  • References/Python/Python/Data Compression

TarInfo.isdev() Return

2025-01-10 15:47:30
tarfile.TarInfo.isblk()
  • References/Python/Python/Data Compression

TarInfo.isblk() Return

2025-01-10 15:47:30
tarfile.TarFile.list()
  • References/Python/Python/Data Compression

TarFile.list(verbose=True, *, members=None) Print a table of contents to sys.stdout. If verbose is

2025-01-10 15:47:30
tarfile.TarFile.add()
  • References/Python/Python/Data Compression

TarFile.add(name, arcname=None, recursive=True, exclude=None, *, filter=None) Add the file name to the archive. name

2025-01-10 15:47:30
tarfile.TarInfo.fromtarfile()
  • References/Python/Python/Data Compression

classmethod TarInfo.fromtarfile(tarfile) Read the next member from the TarFile object tarfile and return

2025-01-10 15:47:30
zipfile.is_zipfile()
  • References/Python/Python/Data Compression

zipfile.is_zipfile(filename) Returns True if filename is a valid ZIP file based on its magic number, otherwise

2025-01-10 15:47:30
tarfile.TarInfo.isreg()
  • References/Python/Python/Data Compression

TarInfo.isreg() Same as isfile().

2025-01-10 15:47:30
tarfile.TarFile.open()
  • References/Python/Python/Data Compression

classmethod TarFile.open(...) Alternative constructor. The tarfile.open() function is actually a shortcut to this

2025-01-10 15:47:30
zipfile.ZipFile.read()
  • References/Python/Python/Data Compression

ZipFile.read(name, pwd=None) Return the bytes of the file name in the archive. name is the name of the file

2025-01-10 15:47:30
zipfile.BadZipfile
  • References/Python/Python/Data Compression

exception zipfile.BadZipfile Alias of BadZipFile, for compatibility with older Python versions.

2025-01-10 15:47:30