Commit 94d9bd8a by BellCodeEditor

save project

parent 1ce3f5ff
Showing with 0 additions and 22 deletions
......@@ -58,29 +58,7 @@ class Note(): # 便签、笔记
self.select.place(x=20,y=self.y-10)
self.val += 1
self.y += 30
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()
global app_reg
app_reg = My_register()
app_reg.show()
def login_to_login()
app_reg.root.destroy()
global app_login
app_login = My_login()
app_login.show()
def register():
name,password1,password2 = app_reg.get_input()
if name ==""or password2 == ""or password1=="":
Messagebox.showwaarning("警告","请填写完整的注册资料)
elif name in users:
messagebox.
app = Note()
app.show()
......
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