[Tutor] Local Unbound Mystery

Alan Gauld alan.gauld at btinternet.com
Sat Sep 20 20:34:06 CEST 2008


"Wayne Watson" <sierra_mtnview at sbcglobal.net> wrote 

> tried it, but, once the program ends (or dies?), the DOS-like 
> window disappears. How does one prevent that? 

Another newbie gotcha! :-)

You'll find a more detailed discussion within my 
Add some Style topic in my tutorial, but the 
simplest answer is add a line like


raw_input('Hit Enter to Quit')

at the end of the program


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld



More information about the Tutor mailing list