> Which will produce the same output as the original, confounding
> your user. You could just write the new values out, since .read
> picks the last entry (as I believe it should). Alternatively, if
> you want to replace it "in place", you'll need a bit more smarts
> when there is more than one c
Дамјан Георгиевски wrote:
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 ?
I ended
> 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 ?
I ended writing this, p
MRAB wrote:
Дамјан Георгиевски wrote:
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 thi
Дамјан Георгиевски wrote:
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 ?
You'l
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