Re: Python interface to ODF documents?

2009-02-16 Thread Dotan Cohen
> Since python is one of OpenOffice.org's Macro language, depending on your
> need, you might be able to use that as well.
>

That's not a bad idea. Thanks!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python interface to ODF documents?

2009-02-16 Thread Lie Ryan
On Sun, 15 Feb 2009 22:03:25 +0200, Dotan Cohen wrote:

> Is there a Python interface to ODF documents? I'm thinking of something
> that will import, for example, an ADS spreadsheet into a
> multidimensional array (including formulas and formatting) and let me
> manipulate it, then save it back.
> 

Since python is one of OpenOffice.org's Macro language, depending on your 
need, you might be able to use that as well.

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


Re: Python interface to ODF documents?

2009-02-15 Thread Terry Reedy

Dotan Cohen wrote:

Is there a Python interface to ODF documents? I'm thinking of
something that will import, for example, an ADS spreadsheet into a
multidimensional array (including formulas and formatting) and let me
manipulate it, then save it back.


odf2py, probably among others.

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


Re: Python interface to ODF documents?

2009-02-15 Thread Krishnakant
hello
look at python-ooolib
it can do what ever is needed and more.
happy hacking.
Krishnakant.
 
On Sun, 2009-02-15 at 21:10 +0100, Tino Wildenhain wrote:
> Hi,
> 
> Dotan Cohen wrote:
> > Is there a Python interface to ODF documents? I'm thinking of
> > something that will import, for example, an ADS spreadsheet into a
> > multidimensional array (including formulas and formatting) and let me
> > manipulate it, then save it back.
> 
> Yes, you have zipfile and a host of xml parsers included in the
> standard lib. This works very well to my experience.
> 
> Not sure if an abstraction layer on top of that exists.
> 
> Regards
> Tino
> 
> 
> --
> http://mail.python.org/mailman/listinfo/python-list

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


Re: Python interface to ODF documents?

2009-02-15 Thread Tino Wildenhain

Hi,

Dotan Cohen wrote:

Is there a Python interface to ODF documents? I'm thinking of
something that will import, for example, an ADS spreadsheet into a
multidimensional array (including formulas and formatting) and let me
manipulate it, then save it back.


Yes, you have zipfile and a host of xml parsers included in the
standard lib. This works very well to my experience.

Not sure if an abstraction layer on top of that exists.

Regards
Tino




smime.p7s
Description: S/MIME Cryptographic Signature
--
http://mail.python.org/mailman/listinfo/python-list


Python interface to ODF documents?

2009-02-15 Thread Dotan Cohen
Is there a Python interface to ODF documents? I'm thinking of
something that will import, for example, an ADS spreadsheet into a
multidimensional array (including formulas and formatting) and let me
manipulate it, then save it back.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--
http://mail.python.org/mailman/listinfo/python-list