Commit 4251a09c by BellCodeEditor

save project

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