* Rajat:
Hi,

I'm using threading module in Python 2.6.4. I'm using thread's join()
method.

On the new thread I'm running a function which returns a code at the
end. Is there a way I access that code in the parent thread after
thread finishes? Simply, does join() could get me that code?

join() always returns None.

But you can store the code in the thread object, and then access it after the join().


Cheers & hth.,

- Alf
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to