Commit 155c5682 by BellCodeEditor

save project

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