我想永远每隔60秒在Python中重复执行一个函数(就像 NSTimer
在里面 this question about a cron implemented in Python ,解决方案似乎有效地 sleep()
while True: # Code executed here time.sleep(60)
此代码是否存在任何可预见的问题?