Commit f7c9ed7b by BellCodeEditor

save project

parent f9aaa18d
Showing with 4 additions and 1 deletions
...@@ -2,7 +2,10 @@ import tkinter ...@@ -2,7 +2,10 @@ import tkinter
def register(): def register():
name = e1.get() name = e1.get()
print("提交的用户名是:",name) print("提交的用户名是:",name)
# 建立窗口对象 name2 = e2.get()
print("提交的密码是:",name2)
name3 = e3.get()
print("提交的确认密码是:",name3)
root = tkinter.Tk() root = tkinter.Tk()
root.title("注册") # 设置窗口标题 root.title("注册") # 设置窗口标题
root.geometry("400x320+500+300") # 设置窗口大小 root.geometry("400x320+500+300") # 设置窗口大小
......
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