Answers for "gzip folder python"

0

gzip folder python

import tarfile

tar = tarfile.open("TarName.tar.gz", "w:gz")
tar.add("folder/location", arcname="TarName")
tar.close()
Posted by: Guest on October-13-2021

Python Answers by Framework

Browse Popular Code Answers by Language