pyuno store OO object into blob
marco.bizzarri at gmail.com
Sun Oct 12 15:29:08 CEST 2008
On Sun, Oct 12, 2008 at 1:41 PM, DarkBlue <pict100 at gmail.com> wrote:
> Python 2.5.1
> Qt 4.4.0
> PyQt 4.4.2
> OO 2.4.1
> Firebird 2.1
> I want to store an openoffice writer object into a blob field using
> the pyuno bridge. I read about the possibility of using streams ,
> but only see some old basic or java examples .
> The writer document has been created and stored into an odf file
> on disk. How to get it from there into the blob ?
> Thanks for any ideas.
I've little experience with firebird, and did this one only with
PostgreSQL; but once you get the odf file, can't you just write on a
temp file and read (and write) from that?
More information about the Python-list