Pillow/winbuild/untar.py
2014-03-24 22:38:45 -07:00

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])