[Tutor] (no subject)
Alan Gauld
alan.gauld at blueyonder.co.uk
Sat Dec 20 15:53:09 EST 2003
> perfectly except when I ask the user to input something. How do
I code the
> whole program then run it? I am using Windows 2000 Prof.
Just type it into a text file, using IDLE(File->New) or even
Notepad.
Make sure you save it with a file ending in .py and you can then
run
it from within IDLE or by double clicking on it in Explorer.
You may need to add something like
raw_input("Hit ENTER to quit...")
as a last line to stop it closing before you see the results.
Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list