Working with ZIP archives

suggest change

Syntax

Remarks

If you try to open a file that is not a ZIP file, the exception zipfile.BadZipFile is raised.

In Python 2.7, this was spelled zipfile.BadZipfile, and this old name is retained alongside the new one in Python 3.2+

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Working with ZIP files:
*Working with ZIP archives

Table Of Contents
31Set
103Working with ZIP files
166Gzip