Commit 155c5682 by BellCodeEditor

save project

parent a469a5b7
Showing with 3 additions and 6 deletions
import tkinter import tkinter
from tkinter import messagebox from tkinter import messagebox
import json import json
...@@ -26,12 +27,8 @@ def register(): # 注册验证 ...@@ -26,12 +27,8 @@ def register(): # 注册验证
messagebox.showwarning('错误','密码不一致') messagebox.showwarning('错误','密码不一致')
else: else:
users[name]= password1 users[name]= password1
#with open('users.txt','w',encoding='utf-8')as f: with open('users.txt','w',encoding='utf-8') as file:
#file.write(content) file.write(content)
#messagebox.showinfo('成功','成功')
#login.show()
def login(): # 登录验证 def login(): # 登录验证
pass 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