Python crashes - cannot pin it down!

vincent wehren vincent at visualtrans.de
Tue Apr 13 13:18:07 EDT 2004


Stevie_mac wrote:
> Figure this!
> 
> ###   Shell1    ###
> 
>>>>from wxPython.wx import *
>>>>mb = wxMessageBox('hello')
> 
> 
> ###   testmb.py ###
> from wxPython.wx import *
> mb = wxMessageBox('hello')
> 
<snipped>
Try changing that to:

from wxPython.wx import *
app = wxPySimpleApp()
app.MainLoop()
wxMessageBox("Hello")

HTH,

Vincent Wehren



More information about the Python-list mailing list