python from any command line?

Christian Heimes lists at cheimes.de
Sun Dec 9 09:21:15 EST 2007


waltbrad wrote:
> Is there a way to set this so I can also invoke it from any command
> line prompt?

You can follow Adonis' advice but I'm going a different path on my
computer because I've multiple versions of Python installed on my box.

I usually put a simple batch file in c:\Windows, e.g. python25.bat

@C:\Python25\python.exe %*

I can start Python 2.5 with python25 from every directory.

Christian




More information about the Python-list mailing list