Permanently Adding A Directory to Pythonpath

Jonas Meyer Rasmussen meyer at kampsax.dtu.dk
Mon May 28 15:30:44 CEST 2001


you have to do it in autoexec.bat
add a line something like this:

SET PYTHONPATH=C:\a...;C:\...;C:\..

it should work
"Darren Watson" <Darren.Watson3 at ntlworld.com> wrote in message
news:JBqQ6.6997$lm5.1200570 at news6-win.server.ntlworld.com...
> Hi
>
> I would like to know how to add a directory to my Pythonpath permanently.
I
> have tried appending to sys.path and this works fine during interactive
> work, but I would like to always have a directory available in the path.
>
> I am using ActivePython 2.1 on windows 98
>
> Any help would be appreciated.
>
> --
>
> Darren Watson
>
>
>





More information about the Python-list mailing list