from threading import Timer
class TestTimer:
def foo(self):
print("hello world")
self.startTimer()
def startTimer(self):
self.t1 = Timer(5, self.foo)
self.t1.start()
timer = TestTimer()
timer.startTimer()
--
https://mail.python.org/mailman/listinfo/python-list
