Commit 70f83d2f by BellCodeEditor

save project

parent f4339cad
Showing with 3 additions and 2 deletions
import tkinter
from tkinter import messagebox
from json
import json
with open('user.txt','r',encoding='utf-8') as f:
info = f.read()
users=json.loads(info)
......@@ -27,7 +28,7 @@ def register(): # 注册验证
messagebox.showwarning('警告','密码不一致')
else:
users[name]=password1
def login(): # 登录验证
pass
......
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