The zipfile module can be used to manipulate ZIP archive files.
zipfile
Read more at pymotw.com: zipfile