PyDocs

Nav

Data Compression and Archiving

ZipFile.extractall

zipfile

method of ZipFile (source)
  • ZipFile.extractall(path=None, members=None, pwd=None)
Extract all members from the archive to the current working
directory. 'path' specifies a different directory to extract to.
'members' is optional and must be a subset of the list returned
by namelist(). You can specify the password to decrypt all files
using 'pwd'.
Changed in 3.6, 3.6.2
  • 3.6: Calling extractall() on a closed ZipFile will raise a ValueError. Previously, a RuntimeError was raised.
  • 3.6.2: The path parameter accepts a path-like object.
0 Examples
No examples for zipfile/ZipFile.extractall.
See Also
No see-alsos for zipfile/ZipFile.extractall
0 Notes
No notes for ZipFile.extractall