Commit 10fd408e by BellCodeEditor

save project

parent e98a41cc
Showing with 4 additions and 0 deletions
...@@ -53,6 +53,10 @@ class Note(): # 便签、笔记 ...@@ -53,6 +53,10 @@ class Note(): # 便签、笔记
def move(self): def move(self):
num = self.val.get() num = self.val.get()
alist.pop(num) alist.pop(num)
alist.append(info)
content = json.dumps(users)
with open("user.txt", "w", encoding="utf-8") as file:
file.write(content)
self.canvas.destroy() self.canvas.destroy()
app.show() 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