zipfile.ZipFile.write()
  • References/Python/Python/Data Compression

ZipFile.write(filename, arcname=None, compress_type=None) Write the file named filename to the archive, giving it the

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

ZipInfo.create_version PKZIP version which created ZIP archive.

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

class zipfile.PyZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True, optimize=-1)

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

zlib.decompressobj(wbits=15[, zdict]) Returns a decompression object, to be used for decompressing data streams that won’t fit

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

tarfile.is_tarfile(name) Return

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

zlib.decompress(data[, wbits[, bufsize]]) Decompresses the bytes in data, returning a bytes object containing the uncompressed

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

ZipFile.setpassword(pwd) Set pwd as default password to extract encrypted files.

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

TarInfo.gid Group ID of the user who originally stored this member.

2025-01-10 15:47:30
tarfile.HeaderError
  • References/Python/Python/Data Compression

exception tarfile.HeaderError Is raised by TarInfo.frombuf() if the buffer it gets is invalid.

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

TarInfo.pax_headers A dictionary containing key-value pairs of an associated pax extended header.

2025-01-10 15:47:30