In all wxPython examples I see a line like this in the "main".
app.MainLoop()
But shouldn't it be this line?
sys.exit(app.MainLoop())
In all wxPython examples I see a line like this in the "main".
app.MainLoop()
But shouldn't it be this line?
sys.exit(app.MainLoop())
In all wxPython examples I see a line like this in the "main".
app.MainLoop()But shouldn't it be this line?
sys.exit(app.MainLoop())
why? YOu very rarely need to call sys.exit directly.
when app.MainLoop returns, you generally get to the end of the script and
pyton exits anyway.
-CHB
On Mon, Feb 9, 2015 at 12:19 PM, <moonkid@posteo.org> wrote:
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov