PYTHONPATH newbie question

johnM john.mcginnis at usa.net
Mon Jan 17 17:59:48 EST 2000


I have just recently been twiddling with Python and have to say this is
a great scripting language.

My Question:

How does one make changes to PYTHONPATH permanent? I can import module
sys and call sys.path.append("dir") no problem. I can call sys.path and
see that dir has been added.

But when I exit the shell and reenter the shell the dir entry in
PYTHONPATH has disappeared. I am running Python 1.5.2 on a Windows NT
4.0 SP4 system.

Any hints or am I missing something?

Thanks in advance.

JohnM, the highly impressed Python newbie....



* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!




More information about the Python-list mailing list