slinkp23 at yahoo.com
Fri May 12 12:59:22 EDT 2000
Glyph Lefkowitz wrote:
(nice code snipped)
Thanks for the example, it's exactly what I wanted. Now I just have
to make my design work the way I want. :)
> >>> w=Thread(target=Waiter)
> >>> w.start()
> >>> Messenger()
> Messenger: hi de ho
> Messenger: Waiter got a message -> hi de ho
> The way that second line of output appears is a bit of foreshadowing
> of the nasty tricky things that await you down the path of
That doesn't look so nasty to me -- makes perfect sense: we're using
the same output (stdout) for Messenger and Waiter! Just use separate
file objects and it's fine.
................ paul winkler ..................
slinkP arts: music, sound, illustration, design, etc.
A member of ARMS -----> http://www.reacharms.com
or http://www.mp3.com/arms or http://www.amp3.net/arms
personal page ----> http://www.ulster.net/~abigoo
More information about the Python-list