Commit b88b0bdd by BellCodeEditor

save project

parent c9fac24c
Showing with 10 additions and 1 deletions
import tkinter
from tkinter import messagebox
import json
with open("user.txt","r",encoding="utf-8") as f:
info = f.read()
users = json.loads(info)
def login_to_reg(): # 登录界面转注册界面
app_login.root.destroy()
......@@ -24,7 +31,9 @@ def register(): # 注册验证
def login(): # 登录验证
pass
with open("user.txt","r",encoding="utf-8") as w:
info = w.read()
users = json.loads(info)
class My_login(): # 登录窗口
def __init__(self):
......
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