mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
12 lines
180 B
Python
12 lines
180 B
Python
import sys
|
|
import zipfile
|
|
|
|
|
|
def unzip(src, dest):
|
|
with zipfile.ZipFile(src) as zf:
|
|
zf.extractall(dest)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unzip(sys.argv[1], sys.argv[2])
|