Pillow/winbuild/unzip.py

12 lines
180 B
Python
Raw 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)
2018-03-03 12:54:00 +03:00
2019-06-13 18:54:57 +03:00
if __name__ == "__main__":
2015-06-20 04:34:34 +03:00
unzip(sys.argv[1], sys.argv[2])