摘要:
'''Tested:Python3.3.0MicrosoftSQLServer2008'''importtimeimportrandomimportadodbapiimportthreading'''简单定时器类'''classTimer(threading.Thread):def__init__(self,fn,args=(),sleep=0):threading.Thread.__init__(self)self.fn=fnself.args=argsself.interval=sleepsel 阅读全文