[Tutor] Import error in UNO

Alan Gauld alan.gauld at btinternet.com
Tue Feb 5 20:44:16 CET 2008


"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


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 




More information about the Tutor mailing list