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

Ray ray_usenet at yahoo.com
Fri Jul 28 01:11:05 EDT 2006


By any chance the command window hasn't been restarted after you've
changed the PATH? Strange that looks OK.

If you do  echo %PATH% what does it tell you, is Python there?

Cheers
Ray

Daniel Mark wrote:
> 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