[Tutor] Communication between threads
flaxeater at gmail.com
Thu Jul 31 13:26:59 CEST 2008
This is a great suggestion. I too learned how to do threading in
python from reading code. For me I read the btdownloadheadless.py
code. Which comes as part of the standard bittorrent client in linux.
On Thu, Jul 31, 2008 at 7:11 AM, Monika Jisswel
<monjissvel at googlemail.com> wrote:
>> 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
> 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.
> Tutor maillist - Tutor at python.org
More information about the Tutor