...的上一级 (os.path.dirname(sys.executable)) os.path.join(venv_root, 'Lib', 'site-packages', 'PySide2', 'plugins') os.environ['QT_PLUGIN_PATH'] print(f ߔ� 已...
~ 方法并调用它 ### ߔ� 第一步:在 ~DeviceManager~ 类中添加新方法 ~~~python def update_online(self): 上线:设置 status=1,不修改 nextwaybillid try: with self.conn.cursor() as cur: cur.execute( UPDATE ai_devicestatus SET status = 1, udtime = NOW() WHERE linenumber = %s , (self.linenumber,)) self.conn.commit() return True except Exception...