Commit c815caec by BellCodeEditor

save project

parent 5eeba63c
Showing with 9 additions and 4 deletions
......@@ -29,10 +29,15 @@ def register(): # 注册验证
with open('user.txt','w',encoding='utf-8') as f:
f.write(content)
messagebox.showinfo("ye",'欧克了')
login_show()
login_to_reg()
def login(): # 登录验证
pass
name,password = app_login.get_input()
pwd = users.get()
if pwd == password:
messagebox.showinfo("ye",'okok')
else:
messagebox.showwarning("!",'错了')
class My_login(): # 登录窗口
def __init__(self):
......
{"admin": "123456", "2b": "`"}
\ No newline at end of file
{"admin": "123456", "2b": "`", "1": "1", "2": "2"}
\ 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