python from any command line?

2007-12-09 Thread waltbrad
Hi folks. I'm learning Python from the Mark Lutz Book, Programming Python 3rd edition. He seems to be able to invoke the Python interpreter from any command line prompt. C:\temppython C:\PP3rdEd\examplespython C:\PP3rdEd\Examples\PP3E\Systemcd Whereas I am only able to invoke it when the

Re: python from any command line?

2007-12-09 Thread Adonis Vargas
waltbrad wrote: Hi folks. I'm learning Python from the Mark Lutz Book, Programming Python 3rd edition. He seems to be able to invoke the Python interpreter from any command line prompt. C:\temppython C:\PP3rdEd\examplespython C:\PP3rdEd\Examples\PP3E\Systemcd Whereas I am only

Re: python from any command line?

2007-12-09 Thread waltbrad
On Dec 9, 8:54 am, Adonis Vargas [EMAIL PROTECTED] wrote: waltbrad wrote: Hi folks. I'm learning Python from the Mark Lutz Book, Programming Python 3rd edition. He seems to be able to invoke the Python interpreter from any command line prompt. C:\temppython

Re: python from any command line?

2007-12-09 Thread john
Hi, You need to edit your path variable. (I'm assuming you're using Windows). Go to: Settings Control Panel System Advanced Environment Variables. Now double click on 'Path' and append ;C:\Python25\ (minus the quotation marks) to the text displayed in the Variable Value box. BW, John --

Re: python from any command line?

2007-12-09 Thread Christian Heimes
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.