Skip to content

Instantly share code, notes, and snippets.

@diewland
Last active July 4, 2018 03:38
Show Gist options
  • Save diewland/1c4b740cbd00a92743f01bd39778c373 to your computer and use it in GitHub Desktop.
Save diewland/1c4b740cbd00a92743f01bd39778c373 to your computer and use it in GitHub Desktop.
Unzip with python
#!/usr/bin/env python3
import sys
from zipfile import PyZipFile
for zip_file in sys.argv[1:]:
pzf = PyZipFile(zip_file)
pzf.extractall()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment