Answers for "python compactar arquivo antes de exportar"

0

python compactar arquivo antes de exportar

import zipfile

z = zipfile.ZipFile('final.zip', 'w', zipfile.ZIP_DEFLATED)
z.write('file1.txt')
z.write('file2.txt')
z.close()
Posted by: Guest on March-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language