我的项目显示退出按钮时出错?我能做什么…我检查了很多次
def iExit():
iExit = tkinter.messagebox.askyesno("Customer Billing system","Confirm if you want to exit")
if iExit > 0:
root.destoy()
return
错误
t__.py", line 2095, in __getattr__
return getattr(self.tk, attr)
AttributeError: '_tkinter.tkapp' object has no attribute 'destoy'
这是语法错误。检查destroy的拼写
相关问题 更多 >
编程相关推荐