[Tutor] Communication between threads

Monika Jisswel monjissvel at googlemail.com
Thu Jul 31 13:11:00 CEST 2008


>
> I'm looking for some thoughts on how two separate threads can
> communicate in Python
>

You will probably get out of your doubts by reading about the
SocketServer module
and SocketServer.ThreadingTCPServer class.

Once your get a server up & running you can run parallel threads, from
there you can build
a global dictionary & use it to share data between you threads.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080731/989e8760/attachment.htm>


More information about the Tutor mailing list