首页上一页 1 下一页尾页 1 条记录 1/1页
跟书上的代码一样,但是报错请问哪的错
发表在Python图书答疑
2022-09-28
《Python GUI设计tkinter从入门到实践》第6章 按钮类组件 79页-80页
是否精华
是
否
版块置顶:
是
否
(a): val = pswshow.get() (val) < : pswshow.delete(END) pswshow.insert(val++ a) (): val = pswshow.get() (val) >=: pswshow.delete((val) - END) pswshow.config(= val[:(val)-]) (): val = pswshow.get() win2 = Toplevel() (val) == : Label(win2=).pack() : Label(win2=).pack() tkinter * win = Tk() win.title() pswshow = Entry(win==) button1 = Button(win==: num()) button2 = Button(win==: num()) button3 = Button(win==: num()) button4 = Button(win==: num()) button5 = Button(win==: num()) button6 = Button(win==: num()) button7 = Button(win==: num()) button8 = Button(win==: num()) button9 = Button(win==: num()) back1 = PhotoImage(=) button0 = Button(win===: num()) enter2 = PhotoImage(=) butback = Button(win=back1=back) butok = Button(win=enter2=enter) pswshow.grid(==) button1.grid(==W+E) button2.grid(===W+E) button3.grid(===W+E) button4.grid(==W+E) button5.grid(===W+E) button6.grid(===W+E) button7.grid(==W+E) button8.grid(===W+E) button9.grid(===W+E) butback.grid(===W+E) button0.grid(===W+E) butok.grid(====W+E) win.mainloop()
请问有问题么,谢谢大佬