Thread: Command Line
View Single Post
Old Aug 20th, 2004, 2:17 AM   #6
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
When the tutorial said command line, it meant the command line persion of Python, not that actual command window. The command line version of python is the interpreter. It runs things on the spot. For example, in the interpreter with the >>> prompt you can type hello world and hit enter and runs it right away (insteaf od saving it and running it with CMD.exe)

>>>print "Hello, World." #then you hit enter and see
Hello, World
It's basicly for doing things on the fly. And when you say editor do you mean Idle? You stated four things, when there are only three.

Quote:
Originally posted by Insomniac

here exists the editor for writing them, the shell for running them, command line for executing them, and what is the intepreter for
I believe you mean you have the editor (Idle), then you have the interpreter or shell which is the window with the >>> prompt, and then you have the command prompt (CMD.exe) to exicute the code. Hope that clears things up for ya!

Glad to see you got everyting working out. You'll be coding in no time
thechristelegacy is offline   Reply With Quote