Commit 3aba47d2 by BellCodeEditor

save project

parent c97c6a4a
Showing with 6 additions and 0 deletions
...@@ -9,3 +9,8 @@ def get_input(self): ...@@ -9,3 +9,8 @@ def get_input(self):
button2 = tkinter.Button(self.root, text='取消'bg='lightblue', button2 = tkinter.Button(self.root, text='取消'bg='lightblue',
width=15,command=reg_to_login) width=15,command=reg_to_login)
button1.place(x=80, y=250) button1.place(x=80, y=250)
def login():
name, password = app_login.get_input()
pwd =users.get(name)
if pwd == password:
messagebox.showinfo("成")
\ No newline at end of file
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