Write ooxml .ods (spreadsheat) from python?

Guilherme Polo ggpolo at gmail.com
Wed Feb 13 21:35:26 CET 2008


2008/2/13, Neal Becker <ndbecker2 at gmail.com>:
> Guilherme Polo wrote:
>
>  > 2008/2/13, Neal Becker <ndbecker2 at gmail.com>:
>  >> I'd like to output some data directly in .ods format.
>  >
>  > Do you want to output data from .ods file or do you want to input data
>  > into an ods ?
>  >
>  >> 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.
>  >>
>  >>
>  >
>  > It is not that complex, it is a zip with several files (the most
>  > interesting are xml files). It gets a bit hard depending on what you
>  > want to do exactly, that would include answering the question above.
>  >
>
>
> I want to write a new ods with my data generated by python.  Any hints?
>

Generate an empty .ods so you get the structure of the zip contents.
Then next you generate an .ods with some data so you can see how it
saves the content in contents.xml, based on this file you generate a
contents.xml for your data.

>
>  --
>  http://mail.python.org/mailman/listinfo/python-list
>


-- 
-- Guilherme H. Polo Goncalves



More information about the Python-list mailing list