Re: stopping execution window on error - newbie

2010-05-14 Thread a
On 14 May, 00:14, Mensanator wrote: > On May 13, 4:00 pm, a wrote: > > > I'm coding on an old windows laptop > > > i write the code and double click the icon.   > > Don't do that. > > > it runs the program and > > writes results to a window. > > > when the code finishes, the window closes, i do a

Re: stopping execution window on error - newbie

2010-05-13 Thread Mensanator
On May 13, 4:00 pm, a wrote: > I'm coding on an old windows laptop > > i write the code and double click the icon.   Don't do that. > it runs the program and > writes results to a window. > > when the code finishes, the window closes, i do a time.sleep(10) to > see what has happened. > > unfortu

Re: stopping execution window on error - newbie

2010-05-13 Thread Matteo Landi
Place a try .. except surrounding the body of your program, and finally call the input() function. On Thu, May 13, 2010 at 11:00 PM, a wrote: > I'm coding on an old windows laptop > > i write the code and double click the icon. it runs the program and > writes results to a window. > > when the c

stopping execution window on error - newbie

2010-05-13 Thread a
I'm coding on an old windows laptop i write the code and double click the icon. it runs the program and writes results to a window. when the code finishes, the window closes, i do a time.sleep(10) to see what has happened. unfortunately when there is an error it just closes the window. anyway o