Thread: Command Line
View Single Post
Old Aug 20th, 2004, 1:01 AM   #2
thechristelegacy
Expert Programmer
 
thechristelegacy's Avatar
 
Join Date: Jul 2004
Location: Somerset, Pa
Posts: 707
Rep Power: 5 thechristelegacy is on a distinguished road
Send a message via AIM to thechristelegacy Send a message via MSN to thechristelegacy
Make sure you've saving the files as .py and when you run them from a command line don't forget to add the .py extension. The version shouldn't make a differnce.

Also, if you could give me the exact error you recieve that would be a great help.

Make sure that CMD.exe is in the right directoy. For example when I open CMD it starts out in C:\Documents and Settings\FPHA and if I want to run a python script that I saved in C:\Python as script.py I have to type the following in.



cd C:\Python
python script.py


Hope that helps out!

:-D
thechristelegacy is offline   Reply With Quote