Any one know how I can get the following function to return a value - thanks.
import threading import time def stringFunction(value): str = "This is string no. " + value return str thread1 = threading.Thread(stringFunction("one")) thread1.join() thread1.start() while threading.activeCount()>1: time.sleep(1) print thread1
Currently returns "<Thread(Thread, stopped)>"
Not "This is string no. one"