continuous return?

Someone Something fordhaivat at gmail.com
Wed Nov 4 04:20:05 CET 2009


I'm trying to write something related to IRC. The thing is, I have one
thread receiving and another sending. But, how can I keep the caller of the
recv() function informed about what was last received so that it can all be
printed out. But, I no idea how I can accomplish this. I was thinking about
getting one variable that was constantly updated with the latest line that
was recved and that the variable would be  a member of the class so other
functions/classes can access it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091103/f705bb74/attachment.html>


More information about the Python-list mailing list