can this code running forever ??

Posted by zjm1126 on Stack Overflow See other posts from Stack Overflow or by zjm1126
Published on 2010-04-24T01:54:02Z Indexed on 2010/04/24 2:03 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
from threading import Timer

def hello():
    print "hello, world"

t = Timer(30.0, hello)
t.start()

i run only once,

how to make it to running forever ?

thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about timer