摘要: import pymysqlimport threadinglock = threading.Lock()class Db: def __init__(self): self.conn = pymysql.connect(host='localhost', port=3306, user='root 阅读全文
posted @ 2022-02-15 19:45 曹宝福 阅读(89) 评论(0) 推荐(0)
摘要: #定时任务 from apscheduler.schedulers.background import BackgroundScheduler from apscheduler.schedulers.background import BackgroundSchedulerdef tasktime( 阅读全文
posted @ 2022-02-15 19:39 曹宝福 阅读(35) 评论(0) 推荐(0)