[Tutor] Import error in UNO

muhamed niyas cmniyas at gmail.com
Wed Feb 6 05:45:38 CET 2008


Thanks for your kind response. I tried to include the path 'C:\Program
Files\OpenOffice.org 2.0\program' in PYTHONPATH. but now i didnt get
any error message but its hanging while importing. Pls advice me to correct
this.


On Feb 6, 2008 3:54 AM, Tiger12506 <keridee at jayco.net> wrote:

> > "muhamed niyas" <cmniyas at gmail.com> wrote
> >
> >> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH
> >> evvironment
> >> variable.
> >
> > Close but not quite.
> > You need to set the module folder in your PYTHONPATH environment
> > variable.
> >
> > PATH is where the python interpreter lives
> > PYTHONPATH is where your modules live
>
> For a less intrusive approach you can
> import sys
> sys.path.append("path of containing folder here")
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
Thanks & Best Regards,

Muhamed Niyas C
(GM, Core Solutions India)
Mobile: +91 9447 468825
URL: www.coresolutionsindia.com
Email: niyas at coresolutionsindia.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080206/1f129f4b/attachment-0001.htm 


More information about the Tutor mailing list