Python crashes - cannot pin it down!

Stevie_mac no.email at please.com
Tue Apr 13 15:42:00 EDT 2004


Woo hoo - It works!

Had to be something I was doing!

Couple of questions...
* Do I need this in every py file (where wx is used) - or just once in say - main() ?
* Do I need to test app == None (or just let app = wxPySimpleApp() occur every time)
* Do I need to Del app afterwards or app.Destroy() or ... ?

Last question, what's happening here! I mean...
>>> app = wxPySimpleApp()
>>> app.MainLoop()
Is this some form of *required* initialisation of wx?


Finally, Thanks very much for taking the time to respond - Stevie_Mac  :happy again:





More information about the Python-list mailing list