mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			186 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			186 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import sys
 | 
						|
import 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])
 |