newbie question on PATH vaiable and running python on win xp
Emile van Sebille
emile at fenx.com
Thu Jul 4 09:16:33 EDT 2002
John Boik
> I would like to be able to run python from the command line from any
> directory. Right now I can only run it from the Python22 directory.
I
> tried putting the Python22 directory in the windows PATH variable, but
still
> python only would run if I was in the Python22 directory. I also
tried
> putting Python22\python.exe in the PATH variable, but that did not
help
> either. Any solutions to this?
Don't put the exe in the path:
C:\>echo %PATH%
"F:\Python21\";F:\Perl\bin\;C:\WINNT\system32;C:\WINNT
C:\>PATH=""
C:\>python
'python' is not recognized as an internal or external command,
operable program or batch file.
--
Emile van Sebille
emile at fenx.com
---------
More information about the Python-list
mailing list