Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list of files to zip python

import zipfile

lista_files = ["12.csv","13.csv","14.csv"]
with zipfile.ZipFile('out.zip', 'w') as zipMe:        
    for f in lista_files:
        zipMe.write(f, compress_type=zipfile.ZIP_DEFLATED)
 
PREVIOUS NEXT
Tagged: #list #files #zip #python
ADD COMMENT
Topic
Name
7+5 =