Python & OpenOffice Spreadsheets

Paul Rudin paul.nospam at rudin.co.uk
Sat Nov 28 05:14:39 EST 2009


r <rt8396 at gmail.com> writes:

> On Nov 23, 4:49 am, Gerhard Häring <g... at ghaering.de> wrote:
>> Is there a *simple* way to read OpenOffice spreadsheets?
>>
>> Bonus: write them, too?
>>
>> I mean something like:
>>
>> doc.cells[0][0] = "foo"
>> doc.save("xyz.ods")
>>
>> >From a quick look, pyodf offers little more than just using a XML parser
>
>
> I find the syntax far to complicated than it should be. Here is an
> example just to insert some text..

[employing weapons of mass snippage]

It's true that it's a hassle, but the boiler plate stuff can be stuck in
a function and then forgotton about really.





More information about the Python-list mailing list