我对编程比较陌生,我试图做一个校验按钮,并得到一个跟踪(最近一次调用):和NameError消息。请帮帮忙。谢谢!
chack_button = Chackbutton(root, text="show password", commend=show_password)
chack_button.place(x=290, y=170)
Traceback (most recent call last):
File "new2.py", line 19, in <module>
chack_button = Chackbutton(root, text="show password", commend=show_password)
NameError: name 'Chackbutton' is not defined发布于 2022-07-30 15:28:51
你写的是Chackbutton而不是Checkbutton
https://stackoverflow.com/questions/73176857
复制相似问题