On 3/23/2010 4:47 PM, Wayne Watson wrote:
I use this code to quit a completed program. If no is selected for the
yes/no prompt, warning messages appear in the shell window.
What is the yes/no prompt? Is it in your program or is it a feature of IDLE?
What are the warning messages?
I'm executing from IDLE. Is there a way to just return to the >>>
prompt there?
def finish():
print; print "Bye"
print
raw_input('Press Enter to quit')
sys.exit()
--
Bob Gailer
919-636-4239
Chapel Hill NC
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor