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
<[EMAIL PROTECTED]> wrote:
>> I'm looking for
>
> 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
James wrote:
All,
I'm looking for some thoughts on how two separate threads can
communicate in Python. From what I've read in a few Python books,
sharing data between threads can be done by writing and reading a
global variable in the parent of both threads. Is this the "best" way?
Is it the *on
All,
I'm looking for some thoughts on how two separate threads can
communicate in Python. From what I've read in a few Python books,
sharing data between threads can be done by writing and reading a
global variable in the parent of both threads. Is this the "best" way?
Is it the *only* way?
Also,