November 11th, 2004, 04:47 AM
Running from the command prompt
I'm unable to run my programs from the command prompt. It has to be one stupid error for sure!
Can anyone figure it out!
'python' is not recognised as an internal or external command, operable program or batch file.
Do I've to create a batch file or something in DOS. Whats the problem???
Thanks & Rgds,
November 11th, 2004, 05:23 AM
Just typing python only works if
c:\python23 has been added to the PATH environment variable.
at a command prompt to see what the path is set to. You can view/set the environment variables by
right-clicking My Computer,click Properties, click Advanced, click Environment Variables - (its in System variables).
Normally it is not set up so I usually type:
November 11th, 2004, 05:31 AM
But Grim, the PATH command shows me..........
So what more do I need to do??
November 11th, 2004, 05:36 AM
is that where the python.exe program is located?
I think not - it should be located in c:\python23.
Unless the c:\python23 directory is in the path then python.exe will not be found!
November 11th, 2004, 05:42 AM
Hey thanks soooooooo much Grim.
I've got my mistake....its now working....thank you once again!!!!
I know I'm really being silly...but pls bear my questions...