Commit 5e33cdfd by BellCodeEditor

save project

parent 7b11c30d
Showing with 3 additions and 4 deletions
......@@ -25,12 +25,11 @@ def register(): # 注册验证
messagebox.showerror('错误','密码错误')
else:
messagebox.showinfo('提示','注册成功')
user[name]= password1
q=json.dumps(user)
with open('user.txt','w',encoding='utf-8')as a:
user[name]= password1
q=json.dumps(user)
a.write(q)
reg_to_login()
reg_to_login()
def login(): # 登录验证
pass
......
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