mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
9 lines
176 B
Python
9 lines
176 B
Python
import sys, tarfile
|
|
|
|
def untar(src, dest):
|
|
with tarfile.open(src, 'r:gz') as tgz:
|
|
tgz.extractall(dest)
|
|
|
|
if __name__=='__main__':
|
|
untar(sys.argv[1],sys.argv[2])
|