thread and function
maximilianscherr
MaximilianScherr at T-Online.de
Wed Jan 23 18:16:54 EST 2002
hi,
i use the thread module for this one thread.
now i have this:
def test():
print "hi"
sleep(1)
print "hi2"
and call that this way:
start_thread#or something else, can't remember#(test, ())
in the description of that command, im told it exits if the function
returns, does this mean i have to put a return under my function?
can i just type return or do i need to return a value?
Thanks
More information about the Python-list
mailing list