Python/UNO/OpenOffice?

John Machin sjmachin at lexicon.net
Mon Oct 2 10:46:53 EDT 2006


olive wrote:
> ... and you have to start your py file with:
>
> import uno, sys, socket
> from com.sun.star.beans import PropertyValue
>
> ... and your start_oo_server.bat file with:
>
> @SET PYTHONPATH=C:\Program Files\OpenOffice.org 2.0\program;C:\Program
> Files\OpenOffice.org 2.0\program\python-core-2.3.4\lib
> @SET PATH=C:\Program Files\OpenOffice.org 2.0\program;C:\Program
> Files\OpenOffice.org 2.0\program\python-core-2.3.4\bin

Many thanks for all that, olive; I made the minimal hacks to make it
open an XLS ffile, and it worked!
I'll try to see why that worked and my previous experiment crashed
inside a DLL.
Cheers,
John




More information about the Python-list mailing list