Assuming that func() (no parameters) returns a list. In the following code I want self.myfunction to point to the function and not the returned list. How can I do this?
class myArrayThread(threading.Thread):
def __init__(self,ThreadName, func):
self.ThreadName = ThreadName
self.myfunction = func
# ......... more stuff after this