Pillow/winbuild/unzip.py

11 lines
179 B
Python
Raw Permalink Normal View History

2015-06-20 06:43:14 +03:00
import sys
import zipfile
def unzip(src, dest):
2015-06-20 04:34:34 +03:00
with zipfile.ZipFile(src) as zf:
zf.extractall(dest)
2015-06-20 06:43:14 +03:00
if __name__ == '__main__':
2015-06-20 04:34:34 +03:00
unzip(sys.argv[1], sys.argv[2])