Python führt einen weiteren Code auf dem Timer aus, während ein separater Code ausgeführt wird
import threading
def printit():
threading.Timer(5.0, printit).start()
print "Hello, World!"
printit()
# continue with the rest of your code
Happy Hippopotamus