PyDocs

Nav

Data Compression and Archiving

ZipFile.testzip

zipfile

method of ZipFile (source)
  • ZipFile.testzip()
Read all the files and check the CRC.

Return None if all files could be read successfully, or the name
of the offending file otherwise.
Changed in 3.6
  • 3.6: Calling testzip() on a closed ZipFile will raise a ValueError. Previously, a RuntimeError was raised.
0 Examples
No examples for zipfile/ZipFile.testzip.
See Also
No see-alsos for zipfile/ZipFile.testzip
0 Notes
No notes for ZipFile.testzip