Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105845 > unrolled thread
| Started by | Bob Gailer <bgailer@gmail.com> |
|---|---|
| First post | 2016-03-27 10:18 -0400 |
| Last post | 2016-03-28 09:48 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Bob Gailer <bgailer@gmail.com> |
|---|---|
| Date | 2016-03-27 10:18 -0400 |
| Subject | Re: help with program |
| Message-ID | <mailman.85.1459088307.28225.python-list@python.org> |
The problem with putting input at the end of a program is: if the program raises an exception you won't see it.
[toc] | [next] | [standalone]
| From | Steven D'Aprano <steve@pearwood.info> |
|---|---|
| Date | 2016-03-28 11:20 +1100 |
| Message-ID | <56f878e8$0$1593$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #105845 |
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. -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Sibylle Koczian <nulla.epistola@web.de> |
|---|---|
| Date | 2016-03-28 09:48 +0200 |
| Message-ID | <mailman.102.1459151353.28225.python-list@python.org> |
| In reply to | #105883 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Sibylle Koczian <nulla.epistola@web.de> |
|---|---|
| Date | 2016-03-28 09:48 +0200 |
| Message-ID | <mailman.134.1459242836.28225.python-list@python.org> |
| In reply to | #105883 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web