Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by programadorviking.com.br #
 
PREVIOUS NEXT
Tagged: #python #compactar #arquivo #antes #de #exportar
ADD COMMENT
Topic
Name
6+1 =