Why XP can not run Python after being setting the PATH?

Daniel Mark danielmarkhot at gmail.com
Fri Jul 28 01:06:34 EDT 2006


Hello all:

I have set the PATH for Python as follows:

My Computer->Properties->Advanced->Environment Variables->System
Variables->Path

...; C:\Program Files\Python24;

Then I try to run python under command line

C:\>python

C:\>python.exe

I got nothing:)

It works iff I run as follows:

C:\>"Program Files\Python24\python.exe"
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

My question is how I can set the path so that the XP can run python
without the full path?


Thank you very much
-Daniel




More information about the Python-list mailing list