Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105965
| From | Sibylle Koczian <nulla.epistola@web.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: help with program |
| Date | 2016-03-28 09:48 +0200 |
| Message-ID | <mailman.134.1459242836.28225.python-list@python.org> (permalink) |
| References | (1 earlier) <1392737302.749065.1459024715818.JavaMail.yahoo@mail.yahoo.com> <CAPTjJmoLW4ye7RotcjCYtBeGapObWSsJBLMVkaoqshYj+Xw+iA@mail.gmail.com> <nd7ui2$q46$1@ger.gmane.org> <mailman.85.1459088307.28225.python-list@python.org> <56f878e8$0$1593$c3e8da3$5496439d@news.astraweb.com> |
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 :-) > > If you have a better solution, please speak up. I don't know Windows very > well and I'm not sure why the console is disappearing in the first place. > Because it was opened only by starting the program, and so it closes when the program ends. Wouldn't the same thing happen on Linux, if a console application were started from the file manager? I would always start a console application from an open command prompt, in case of exceptions. And if my Python GUI application doesn't appear on the screen I do the same, to see the traceback.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: help with program Bob Gailer <bgailer@gmail.com> - 2016-03-27 10:18 -0400
Re: help with program Steven D'Aprano <steve@pearwood.info> - 2016-03-28 11:20 +1100
Re: help with program Sibylle Koczian <nulla.epistola@web.de> - 2016-03-28 09:48 +0200
Re: help with program Sibylle Koczian <nulla.epistola@web.de> - 2016-03-28 09:48 +0200
csiph-web