[Tutor] PYTHONPATH-corrected

Bob Rea petard at petard.us
Tue Jun 30 20:33:27 CEST 2009


In working my way through the book on python, I am working 
in directories for chapers. Now I am on modules, and some 
are reused in later chapters. I have set up a directory for 
the modules. How do I add it to my PYTHONPATH?
I can use sys.path.append but that only lasts for the 
session.

This is on a suse linux 10 box

-- 
Bob Rea
mailto:petard at petard.us
http://www.petard.us
http://www.petard.us/blog
http://www.petard.us/gallery


More information about the Tutor mailing list