> > Don't run it from inside IDLE. You were right to run it from cmd. > > Pasting the error message you showed elsewhere: > > 'python3' is not recognized as an internal or external > command, operable program or batch file. > > That simply says that the PATH does not point to your PYTHON3.bat or > PYTHON3.exe program. When I was stuck on Windows, I used the ActivePython > version, as it had many enhancements for Windows users over standard > CPython. One of those enhancements was a simpler install that set up > associations and paths automatically. Consequently, I don't have any idea > how your Windows install tried to set up your PATH. Look in a directory > like C:\Python3.1 to see if it's there at all. And if it is, add it to > your PATH. That's a Windows thing, which you can do from the control > panel. But for testing, you can just manually add it to the path of your > current cmd shell. > > In case you didn't know, PATH is an environment variable used by the cmd > shell (and other programs) to search for .exe, .bat, and .cmd programs. >
im really not any good with cmd or know how to set things to my python path. what do you mean when you say Look in a directory like C:\Python3.1 to see if it's there at all? you mean to see if the code works, or something else? i have my python installed not in my C:drive but... D:\Data\Program Files Data\Py in a folder named Py. i opened the cmd there and typed python3 and python 3.1 but got the same errors. i also ran the same code to start the server but still got the same error.
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor