摘要:
首先封装线程函数 #自定义的线程函数类def thread_it(func, *args): '''将函数放入线程中执行''' # 创建线程 t = threading.Thread(target=func, args=args) # 守护线程 t.setDaemon(True) # 启动线程 t. 阅读全文
posted @ 2021-11-12 21:08
菜鸡搬砖
阅读(432)
评论(0)
推荐(0)
摘要:
如题,当输入查询的名字时,如果输入中文“名字”则会出现pymysql.err.OperationalError: (1054, "Unknown column '名字' in 'where clause'"),但是输入英文或者数字都是正常的。 那么这种情况一般是查询的表达式书写出现了错误。 例如:s 阅读全文
posted @ 2021-11-12 16:16
菜鸡搬砖
阅读(2574)
评论(0)
推荐(0)

浙公网安备 33010602011771号