tarun wrote: > Thanks a lot Laszlo Nagy, > > I used the following and it worked. I thought this is a producer/consumer scenario, this is why I suggested the Queue class. But now I see that you only want to compute one value in your thread and stop it afterwards.
In fact using a wx.PyEvent is much more elegant than my solution. :-) I'm glad that I could help. Laszlo -- http://mail.python.org/mailman/listinfo/python-list