1.4 Creating and Running Programs

Go into PythonWin (on Windows) or IDLE (on Unix) if you have not already. Go to File then New Window. In this window type the following:
print "Hello, World!"

First save the program. Go to File then Save. Save it as 'hello.py'. (If you want you can save it to some other directory than the default.) Now that it is saved it can be run.

Next run the program. In PythonWin, you can do this by going to File and then Run. In IDLE, you would use Edit then Run script. This will output Hello, World! on the 'Interactive Window'(PythonWin) or *Python Shell* window (IDLE).