Commit 30900178 by BellCodeEditor

save project

parent 8a0c96c9
Showing with 9 additions and 5 deletions
......@@ -32,9 +32,13 @@ def register(): # 注册验证
messagebox.showwarning("滚!!!!!!!!!!!!","蛋!!!!!!!!!!!!")
else:
users[name]=password1
content=json.dumps(users)
with open("user.txt","w",encoding="utf-8")as file:
file.write(content)
messagebox.showinfo("OK","ol")
login_show()
def login():
pass
class My_login(): # 登录窗口
def __init__(self):
self.root = tkinter.Tk()
......
{"admin": "123456"}
\ No newline at end of file
{"admin": "123456", "zzzzzzzzzzzzzzzzzzzzzzzzzzzz": "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"}
\ 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