From 10fd408e9cbcf814c3e4049df7a17c36902f7451 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Tue, 20 Jul 2021 18:37:20 +0800 Subject: [PATCH] save project --- my_client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/my_client.py b/my_client.py index aeda3be..2ae59e9 100644 --- a/my_client.py +++ b/my_client.py @@ -53,6 +53,10 @@ class Note(): # 便签、笔记 def move(self): num = self.val.get() 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() app.show() -- libgit2 0.25.0