PYTHONPATH?

Tombo thomas.dunham at gmail.com
Fri Feb 24 06:29:00 EST 2006


Said obscure dialog is here:
My Computer > Properties > Advanced (tab) > Environment Variables

You probably want a new system variable.

You can check the value by starting a new terminal window and typing:

echo %PYTHONPATH%

Cheers
Tombo

Diez B. Roggisch wrote:
> Dr. Pastor wrote:
>
> > Several Documents about Python
> > refer to PYTHONPATH.
> > I could not find such variable.
> > (Python 2.4.2, IDLE 1.1.2, Windows XP)
> > How should/could I nominate a Directory to be
> > the local Directory?
> > Thanks for any guidance.
>
> It's a so called environment-variable. You can set these in some obscure
> windows dialog in the system-preferences on a per-system or per-user base.
> Or you start using cygwin (lots of good other reasons for that), and do
> 
> export PYTHONPATH=/whatever
> 
> Diez




More information about the Python-list mailing list