By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,035 Members | 1,408 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,035 IT Pros & Developers. It's quick & easy.

new office formats, REs and Python

P: n/a
How are Python users dealing with some of the new OASIS Open Document
formats (Open Office) or MS Open XML formats. These formats store data
in a file which is actual a zip archive that contains numerous files and
folders. For example, a file saved from Open Office 2.0 named 'test.odt'
can be unzipped into many parts... content.xml, meta.xml, settings.xml,
etc, etc.

How can I read these files do re searching and matching on them, etc?
content.xml may have a string I'm searching for, but how would I attach
that back to the original 'test.odt' file?

Perl seems to have a module to handle this, does Python?

http://search.cpan.org/dist/OpenOffice-OODoc/
Jan 4 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
tubby wrote:
How are Python users dealing with some of the new OASIS Open Document
formats (Open Office) or MS Open XML formats. These formats store data
in a file which is actual a zip archive that contains numerous files and
folders. For example, a file saved from Open Office 2.0 named 'test.odt'
can be unzipped into many parts... content.xml, meta.xml, settings.xml,
etc, etc.

How can I read these files do re searching and matching on them, etc?
content.xml may have a string I'm searching for, but how would I attach
that back to the original 'test.odt' file?
http://ooopy.sourceforge.net/
http://www.google.com/search?q=python+open+office
etc

</F>

Jan 4 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.