Passing the output of a thread to the caller.

Marlin Rowley marlin_rowley at hotmail.com
Wed Apr 16 15:29:48 EDT 2008


I have a thread that I've created from a main program.  I started this thread and passed it a function to execute.  Within this function are 'print' statements.  While they are directly translated to the stdout, I would love to return them back to the program itself and store them in an object.  How would I do this?

-M

_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080416/e34ba6f8/attachment.html>


More information about the Python-list mailing list