Commit 300a4992 by BellCodeEditor

auto save

parent d5a26fee
Showing with 3 additions and 3 deletions
...@@ -40,7 +40,7 @@ class Note(): # 便签、笔记 ...@@ -40,7 +40,7 @@ class Note(): # 便签、笔记
print(users) print(users)
content=json.dumps(users) content=json.dumps(users)
with open ('user.text','w',encoding='utf-8') as file: with open ('user.txt','w',encoding='utf-8') as file:
file.write(content) file.write(content)
self.canvas.destroy() self.canvas.destroy()
app.show() app.show()
......
{"admin": "admin", "python": "123456", "hhhhhhh": {"password": "1111", "event": ["hhhhh"]}, "111": {"password": "111", "event": ["hhhhh"]}, "7": {"password": "7", "event": ["hhhhh", "eeeee"]}, "5": {"password": "5", "event": ["hhhhh", "eeeee"]}} {"admin": "admin", "python": "123456", "hhhhhhh": {"password": "1111", "event": ["hhhhh"]}, "111": {"password": "111", "event": ["hhhhh"]}, "7": {"password": "7", "event": ["hhhhh", "eeeee"]}, "5": {"password": "5", "event": ["hhhhh"]}}
\ No newline at end of file \ No newline at end of file
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