Replacing files in a zip archive

Дамјан Георгиевски gdamjan at gmail.com
Thu Apr 30 09:33:01 EDT 2009


I'm writing a script that should modify ODF files. ODF files are just 
.zip archives with some .xml files, images etc. 

So far I open the zip file and play with the xml with lxml.etree, but I 
can't replace the files in it.

Is there some recipe that does this ?




-- 
дамјан ( http://softver.org.mk/damjan/ )

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?




More information about the Python-list mailing list