module search path

Wouter van Marle wouterm at spammers-unite-here.com
Mon Feb 24 05:14:41 EST 2003


Hi all!

I have the following problem. I have written a nice (well, that's what I
think) piece of software - a main program and a bunch of *.py files with
basically all the information. And of course a glade file and some pics.

Now in future, I want the main program to be installed in /usr/local/bin,
while the rest of the software goes to either /usr/local/lib/sqfax or
/usr/local/share/sqfax. Anyway - how to import modules in those dirs?
Working dir is going to be ~/.sqfax. So I need to set something like a
search path in my main program?

Wouter.






More information about the Python-list mailing list