Commit db245c9e by BellCodeEditor

save project

parent 620a0e63
Showing with 4 additions and 2 deletions
......@@ -25,6 +25,8 @@ def register():
messagebox.showwarning("错了")
else:
users[name]=password1
with open("user.txt","w",encoding="utf_8")as ren:
ren.write(json.dumps(users))
def login(): # 登录验证
pass
class My_login(): # 登录窗口
......
{"admin": "123456"}
\ No newline at end of file
{"admin": "123456", "\u4efb": "0828"}
\ 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