Mon, Jul 25, 2005 at 01:20:39PM +0800, Varghj?rta пишет:
> When doing GUI apps in C# I often have to call a method that will
> modify the GUI somehow from a different thread then the GUI is on (to
> allow for GUI responsiveness). I simply call Invoke() or BeginInvoke
> which resides in another thread with a delegate pointing to the method
> I want to start in that thread.
> 
> How would I go about doing this in Python?

I don't know of this functionality in the standard python library, but look
at the Twisted framework (http://twistedmatrix.com).

What you need is

http://twistedmatrix.com/projects/core/documentation/howto/threading.html#auto2

-- 
jk
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to