Re: help with program

2016-03-28 Thread Sibylle Koczian
Am 28.03.2016 um 02:20 schrieb Steven D'Aprano: On Mon, 28 Mar 2016 01:18 am, Bob Gailer wrote: The problem with putting input at the end of a program is: if the program raises an exception you won't see it. True. But the solution to that is simple: don't make mistakes when programming :-) I

Re: help with program

2016-03-27 Thread Steven D'Aprano
On Mon, 28 Mar 2016 01:18 am, Bob Gailer wrote: > The problem with putting input at the end of a program is: if the program > raises an exception you won't see it. True. But the solution to that is simple: don't make mistakes when programming :-) If you have a better solution, please speak up. I

Re: help with program

2016-03-27 Thread Terry Reedy
On 3/27/2016 10:18 AM, Bob Gailer wrote: The problem with putting input at the end of a program is: if the program raises an exception you won't see it. What you are saying is that putting input() at the end of a program (or before any exit point) is insufficient for keeping a window alive if

Re: help with program

2016-03-27 Thread Bob Gailer
The problem with putting input at the end of a program is: if the program raises an exception you won't see it. -- https://mail.python.org/mailman/listinfo/python-list

Re: help with program

2016-03-26 Thread Terry Reedy
On 3/26/2016 6:48 PM, Chris Angelico wrote: On Sun, Mar 27, 2016 at 7:38 AM, Jerry Martens wrote: hi im trying to run this program and it opens a screen really ast and closes it faster withou any results. There are a few ways you could do this. One is to run it from the command line. Another

Re: help with program

2016-03-26 Thread Steven D'Aprano
On Sun, 27 Mar 2016 07:38 am, Jerry Martens wrote: > hi im trying to run this program and it opens a screen really ast and > closes it faster withou any results. Put this at the very end of your program: # Python 2 version raw_input('Press the Enter key to exit... ') # Python 3 version input(

Re: help with program

2016-03-26 Thread Mark Lawrence
On 26/03/2016 20:38, Jerry Martens wrote: any help would be appreciated! or could you please point me to a good forum for total noobs?thank you for your time and effort! https://mail.python.org/mailman/listinfo/tutor also available at gmane.comp.python.tutor. -- My fellow Pythonistas, ask

Re: help with program

2016-03-26 Thread Chris Angelico
On Sun, Mar 27, 2016 at 7:38 AM, Jerry Martens wrote: > hi im trying to run this program and it opens a screen really ast and closes > it faster withou any results. im totally a noob. everything i google is > confusing. do i need to place this is in a folder or just run from command > line? i h

help with program

2016-03-26 Thread Jerry Martens
hi im trying to run this program and it opens a screen really ast and closes it faster withou any results. im totally a noob. everything i google is confusing. do i need to place this is in a folder or just run from command line? i have the latest version of python. im running win 7. any help wo