code: def extract_zip(archive, compression, cmd, verbosity, interactive, outdir):
      
      try:
          with zipfile.ZipFile(archive) as zfile:
              zfile.extractall(outdir)
      except Exception as err:
          msg = "error extracting %s: %s" % (archive, err)
          raise util.PatoolError(msg)
      return None
docs: Extract a ZIP archive with the zipfile Python module.