Commit f3b2719b by BellCodeEditor

save project

parent b4084db6
Showing with 10 additions and 0 deletions
import tkinter
def savel():
name = el.get
password = e2.get
print(("用户名"),name,"密码",password)
# 建立窗口对象
root = tkinter.Tk()
......@@ -29,5 +34,10 @@ lab.place(x=100,y=140)
lab = tkinter.Label(root, text='确定密码', font=('宋体', 15))
lab.place(x=100,y=200)
buttonl = tkinter.Button(root,text="提交",width=15,command=savel)
buttonl.place(X=150,Y=250)
# 保持窗口监听,进入消息循环
root.mainloop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment