Manipulando arquivo zip pela linha de comando

Empacotar arquivo zip através Python
python -m zipfile -c incolume.zip Readme.txt
Extrair arquivo zip através Python
python -m zipfile -e incolume.zip path/

Referencias

http://www.geeksbr.com/2013/06/python-manipulando-arquivo-zip-pela.html http://bioportal.weizmann.ac.il/course/python/PyMOTW/PyMOTW/docs/zipfile/index.html

Comentários