where is uno?

J

johnf

I'm using SUSE 10.3 have installed OpenOffice Python interface from the
distro DVD. But still I need help because I can't "import uno". And
that's because it's not in my site-packages.

I read about how to use it and have reviewed code that uses it but no where
did any of the articles explain where to retrieve the actual 'uno' py
package.

Can someone provide a hint?

Johnf
 
C

Carsten Haese

I'm using SUSE 10.3 have installed OpenOffice Python interface from the
distro DVD. But still I need help because I can't "import uno". And
that's because it's not in my site-packages.

I read about how to use it and have reviewed code that uses it but no where
did any of the articles explain where to retrieve the actual 'uno' py
package.

Can someone provide a hint?

Find out where the installation placed the uno.py file. It might be
somewhere in </path/to/openoffice>/program. Once you've found the actual
location, set the PYTHONPATH environment variable to that location.

HTH,
 
Z

Zentrader

It's installed by default with Python 2.5 on Ubuntu. Actually it is a
link to /usr/share/pycentral/python-uno/site-packages/uno.py so first
do a search for uno.py. If not found post back.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,049
Members
48,769
Latest member
Clifft

Latest Threads

Top