Commit 9c862d61 by BellCodeEditor

auto save

parent 0e1fa826
import tkinter
from tkinter import messagebox
import json
import
with open("user.txt", "r", encoding="utf-8") as f:
info = f.read()
......@@ -40,6 +40,8 @@ def login(): # 登录验证
pwd = users.get(name)
if pwd == password:
messagebox.showinfo("成功", "登录成功")
import my_client
my_client.Note
else:
messagebox.showwarning("错误", "用户名或密码错误!")
......
{"admin": "admin", "python": "123456"}
\ No newline at end of file
{"admin": "admin", "python": "123456", "\u4f60\u7239": "\u712f"}
\ 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