Commit 80aedfc0 by BellCodeEditor

save project

parent b89cf69e
Showing with 4 additions and 3 deletions
import tkinter import tkinter
from tkinter import messagebox from tkinter import messagebox
import json
with open("user.txt","r",encoding="utf-8")as f: with open("user.txt","r",encoding="utf-8")as f:
info = f.read() info = f.read()
users =json.load(info) users =json.loads(info)
def login_to_reg(): # 登录界面转注册界面 def login_to_reg(): # 登录界面转注册界面
app_login.root.destroy() app_login.root.destroy()
......
{"admin": "123456"} {"admin": "123456", "123": "123"}
\ No newline at end of file \ 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