Commit 4251a09c by BellCodeEditor

save project

parent bc76b4da
Showing with 2 additions and 5 deletions
...@@ -30,13 +30,10 @@ def register(): # 注册验证 ...@@ -30,13 +30,10 @@ def register(): # 注册验证
users[name] = password1 users[name] = password1
contont = json.dumps(users) contont = json.dumps(users)
with open("user.txt","w",encoding="utf-8") as file: with open("user.txt","w",encoding="utf-8") as file:
file.write(content) file.write()
#注册成功 #注册成功
messagebox.showinfo("成功","注册成功") messagebox.showinfo("成功","注册成功")
app_reg.root.destroy() reg_to_login()
global app_login
app_login = My_login()
app_login.show()
def login(): # 登录验证 def login(): # 登录验证
pass 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