From b04426346d34cc965651914aeeb959c259f0974a Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 27 May 2023 19:00:35 +0800 Subject: [PATCH] auto save --- diy1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index 15bb850..6e02b39 100644 --- a/diy1.py +++ b/diy1.py @@ -1 +1,2 @@ -file= open \ No newline at end of file +file: + with open(r'C:\Users\123\Desktop\book.txt','w',encoding='utf-8') as \ No newline at end of file -- libgit2 0.25.0