zipfile

The standard library module for reading, creating and extracting ZIP archives.

In more detail

zipfile.ZipFile("examples.zip").extractall("examples") unpacks an archive, much as unzipping it by hand would. It can also list an archive's contents or add files to a new one.

Related terms

Taught in

References