wxpython application ( problem ? )
kyosohma at gmail.com
kyosohma at gmail.com
Wed Jan 2 09:25:07 EST 2008
On Jan 2, 5:24 am, vedrandeko... at gmail.com wrote:
> Hello,
>
> Here is sample of my simple script with wxpython and modules:
> subprocess,threading, directpython.......
>
> Code sample:
>
> import wx
> import wx.aui
> app=wx.App()
> frame=wx.Frame(None,title="New project")
>
> #There is also part with wx.aui
>
> frame.Show()
> app.MainLoop()
>
> After a few minutes wx application does destroy. Any ides why?
I highly recommend reading this wxPython wiki entry about using
threads in wxPython:
http://wiki.wxpython.org/LongRunningTasks
I've found it quite helpful in my own programming.
Mike
More information about the Python-list
mailing list