thread and function

maximilianscherr MaximilianScherr at
Thu Jan 24 00:16:54 CET 2002


i use the thread module for this one thread.
now i have this:

def test():
   print "hi"
   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?


More information about the Python-list mailing list