Answers for "unpack tar.gz python"

0

unpack tar.gz python

# importing the "tarfile" module
import tarfile
  
# open file
file = tarfile.open('gfg.tar.gz')
  
# extracting file
file.extractall('./Destination_FolderName')
  
file.close()
Posted by: Guest on September-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language