[Tutor] Communication between threads

Emile van Sebille emile at fenx.com
Wed Jul 30 23:39:33 CEST 2008

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 *only* way?

I happened to see an article on this -- let's see...


Specifically the queues discussion.



More information about the Tutor mailing list