Pillow/winbuild/unzip.py

9 lines
174 B
Python
Raw Normal View History

2014-03-19 07:59:42 +04:00
import sys, zipfile
def unzip(src, dest):
with zipfile.ZipFile(src) as zf:
zf.extractall(dest)
if __name__=='__main__':
unzip(sys.argv[1], sys.argv[2])