newbie : edit sys.path on WinNT

Alan Gauld alan.gauld at gssec.bt.co.uk
Fri Jan 5 08:08:07 EST 2001


buster2642 at my-deja.com wrote:
> I just installed NumPy16_152 into my 'D:\Program Files\Python' folder.
> How do I "permanently" add this to sys.path so 'import Numeric'
> succeeds?  I may or may not have admin access to the NT box to do this..

There are several ways, try searching deja news for PYTHONPATH

My favourite is to set the PYTHONPATH environment variable in NT
via Control Panel|System and the Environment tab.

You just add to it using the same syntax as the DOS PATH
and Python reads it at startup.


Alan g

-- 
=================================================
This post represents the views of the author 
and does not necessarily accurately represent 
the views of BT.



More information about the Python-list mailing list