我当前正在将self
与from threading import *
class QueueReport(Thread):
def __init__(self):
Thread.__init__(self)
self.reports_to_call = []
def add(self, report, user):
self.reports_to_call.append([report, user])
print("Added Value")
def run(self):
print("Running")
#print(reports_to_call)
#will loop and send values from this list to another function
if __name__ == '__main__':
t1 = QueueReport()
t1.run()
QueueReport.add("mainreport", "user")
一起使用。尝试模拟WAGO ecockpit
库,但是显示错误
XAMPP MYSQL 8
当我尝试登录时。有人可以帮忙吗