Re[2]: [Tutor] howto?
MICHAEL.W.WILSON@CUSTOMS.TREAS.GOV
MICHAEL.W.WILSON@CUSTOMS.TREAS.GOV
Thu, 18 May 2000 13:32:14 -0400
Actually this should be:
raw_input("Hit enter to exit")
raw_input doesn't do character reads, it waits for the newline.
Mike W.
______________________________ Reply Separator _________________________________
Subject: RE: [Tutor] howto?
Author: alan.gauld@bt.com at smtplink
Date: 5/18/00 12:31 PM
> Under Windows, just make sure the filename ends with '.py'
> and then click on it.
Its also a good idea to add this line to the end of
the program if you want to see printed output:
raw_input('Hit any key to exit')
That will prevent the DOS box from opening and
printing the output and then immediately closing again!
Alan G.
_______________________________________________
Tutor maillist - Tutor@python.org
http://www.python.org/mailman/listinfo/tutor