2013年9月19日 星期四

python-hello-world

import Timer
def hello():
    print ("hello, world")

t = Timer(30.0, hello)
t.start() # after 30 seconds, "hello, world" will be printed

沒有留言:

張貼留言