On Tuesday 04 August 2009 11:03:03 am Ed Leafe wrote:
> On Aug 4, 2009, at 9:50 AM, John wrote:
> > I'm trying to write some more example Dabo code to open and use
> > openoffice's
> > uno.py. I know where my copy of uno.py happens to be. So it's a
> > simple
> > task to add a pth file or add the path. But I'm wondering how I can
> > determine the location in a cross platform manner and also set the
> > path in
> > code.
>
> import sys
> sys.path.append("/path/to/my/module")
>
>
>
> -- Ed Leafe
I'm sorry if I miss led. How do I find the file 'uno.py' on the users
computer. And then I can setup the path.
Your code helps after I find the location.
Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]