R
Riad Djemili
Hi there,
when executing the standard python example for Timer my python shell
freezes after giving out 'hello' and has to be killed.
What am I doing wrong!?
--code--
import threading
def hello():
print "hello, world"
t = threading.Timer(30.0, hello)
t.start() # after 30 seconds, "hello, world" will be printed
--code--
I'm on a WinXP System
Regards,
Riad
when executing the standard python example for Timer my python shell
freezes after giving out 'hello' and has to be killed.
What am I doing wrong!?
--code--
import threading
def hello():
print "hello, world"
t = threading.Timer(30.0, hello)
t.start() # after 30 seconds, "hello, world" will be printed
--code--
I'm on a WinXP System
Regards,
Riad