Commit b1c362aa by BellCodeEditor

auto save

parent a6718d11
Showing with 4 additions and 2 deletions
import tkinter
def register:
name=el.ge()
def register():
name=el.get()
password1=e2.get()
password2=e3.get()
print("人员输入内容为",name,password1,password2)
......@@ -30,5 +30,7 @@ lab2 = tkinter.Label(root, text='身份验证码', font=('宋体', 15),fg="black
lab2.place(x=60,y=140)
lab3 = tkinter.Label(root, text='再次输入', font=('宋体', 15),fg="black")
lab3.place(x=50,y=200)
button=tkinter.Button(root,text="提交",bg='lightgreen',width=15,command=register)
button.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