Commit b9ddf8b5 by BellCodeEditor

auto save

parent 4a3be14f
Showing with 3 additions and 3 deletions
......@@ -30,7 +30,7 @@ def register(): # 注册验证
users[name]=password1
content=json.dumps(users)
with open('user.txt','w',encoding='utf-8')as file:
file.write(content)
file.write(content)
messagebox.showinfo('成功','牛逼')
login_show()
def login(): # 登录验证
......
{"admin": "123456"}
\ No newline at end of file
{"admin": "123456", "hdhfush": "123456", "cbcf": "123456", "sdf": "1"}
\ 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