def fun_timer(): print('Hello Timer!') global timer timer = threading.Timer(3, fun_timer) timer.start() timer = threading.Timer(1, fun_timer) timer.start()
def fun_timer(): print('Hello Timer!') global timer timer = threading.Timer(3, fun_timer) timer.start() timer = threading.Timer(1, fun_timer) timer.start()