Advertisement
Fhernd

comprimir-archivo.py

Jan 27th, 2018
707
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. import zipfile
  2.  
  3. archivo_zip = zipfile.ZipFile('comprimido.zip', mode='w')
  4.  
  5. archivo_zip.write('CatalogoProductos.xml')
  6.  
  7. archivo_zip.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement