import time
import threading
def mtimer():
print time.time()
threading.Timer(1, mtimer).start()
1405940684.98
# 使用定时器做循环任务
def mtimer():
print time.time()
threading.Timer(1, mtimer).start()
threading.Timer(1, mtimer).start()
1405940710.73
1405940711.74
... ...
1405940722.77