setting pythonpath on Windows NT

Andrew Malcolmson Andrew at NOmalcolmsonSPAM.com
Thu Oct 5 10:50:29 EDT 2000


There's an even easier way to do this.

1) Open the 'System' dialog either through the Control Panel or through the
Properties of the 'My Computer' icon on the Desktop.
2) Display the 'Environment' tab.
3) Click in either 'System Variables' (applied to all users) or 'User
Variables' (current user), enter 'PYTHONPATH' in the 'Variable' text box
below, and
then enter any path entries you want, separated by semicolons, in the
'Value' box.

You can check that this has taken effect by opening an NT command prompt
and listing the environment variables with the 'set' command.

The PYTHONPATH you specify in 'System' will be prepended to the standard
sys.path.






More information about the Python-list mailing list