Write ooxml .ods (spreadsheat) from python?

N

Neal Becker

I'd like to output some data directly in .ods format. This format appears
to be quite complex. Is there any python software available to do this? I
did look at pyuno briefly. It looks pretty complicated also, and it looks
like it uses it's own private version of python, which would not help me.
 
B

Ben Finney

Neal Becker said:
I'd like to output some data directly in .ods format.

Presumably you mean the OpenDocument Spreadsheet format. That's not
OOXML, it's ODF, the international standard document format
implemented in OpenOffice.org, KOffice, and many others.

<URL:http://opendocument.xml.org/>

Note that OOXML is not related to OpenOffice.org. Also note that
OOXML, as specified, is not implemented by *any* software at present,
and there are strong reasons to believe it cannot feasibly be
implemented as specified. (Microsoft Office 2007 implements it only
partially, but writes documents incompatible with the standard; e.g.
the spreadsheet data contains binary blobs not documented in the OOXML
specification.)

More information on ODF versus OOXML:

Achieving Openness: A Closer Look at ODF and OOXML
<URL:http://www.onlamp.com/pub/a/onlamp/2007/06/14/achieving-openness-a-closer-look-at-odf-and-ooxml.html>
 
N

Neal Becker

Ben said:
Presumably you mean the OpenDocument Spreadsheet format. That's not
OOXML, it's ODF, the international standard document format
implemented in OpenOffice.org, KOffice, and many others.
Sorry for the confusion, yes I meant OpenDocument Spreadsheat format.
 
J

johnf

Neal said:
I'd like to output some data directly in .ods format. This format appears
to be quite complex. Is there any python software available to do this?
I
did look at pyuno briefly. It looks pretty complicated also, and it looks
like it uses it's own private version of python, which would not help me.

Try
import ooolib
#http://ooolib.sourceforge.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top