Module Search Path?
Steve Holden
sholden at holdenweb.com
Thu Mar 7 19:58:15 EST 2002
<brobbins333 at shaw.ca> wrote in message news:3c87e781.62223437 at news...
> I want to store the modules I have written in their own directory.
> When I add it to the search path with sys.path.append the changes are
> made for one session only. How can I make permanent changes to the
> search path? I am using ActivePython 2.1 (PythonWin) in Win98.
>
> Bruce Robbins
See module site, and see if sitecustomize will do it for you.
Alternatively make sure the directory is included in the PYTHONPATH
environment variable, or fiddle in the registry (something your humble
sacribe prefers to avoid under most circumstances).
regards
Steve
More information about the Python-list
mailing list