how to call a function for evry 10 secs

Rune Strand rune.strand at gmail.com
Fri Jul 1 18:15:19 CEST 2011


from threading import Timer

def Func_to_call:
   do_stuff()

my_timer = Timer(10, Func_to_call)
my_timer.start()




More information about the Python-list mailing list