Newbie: Running two threads...

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Wed Nov 26 16:20:32 EST 2003


anton muhin:
>Siddharth Choudhuri:
>> Now, the problem is how do I combine the two ? since there are two event
>> loops.

>IMHO standard solution is to use Queue---socket process polpulates a 
>queue and UI pulls data from it.

Have a look at:
http://starship.python.net/crew/aahz/OSCON2001/index.html
http://www.google.com/search?q=cache:YXeixn3vzVQJ:aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965+python+queue+threads&hl=nl&ie=UTF-8

-- 
René Pijlman




More information about the Python-list mailing list