From 4d1ce1e0099ee0a0f1b6a6d9bdcebab2a5017ea4 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 18 Jun 2023 11:09:37 +0800 Subject: [PATCH] save project --- diy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diy.py b/diy.py index b53cff2..75d4b90 100644 --- a/diy.py +++ b/diy.py @@ -1,5 +1,5 @@ # 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本' -with open('C:\Users\MAKCOO-03\Desktop\11.txt','a',encoding="utf-8")as fillu: +with open(r'C:\Users\MAKCOO-03\Desktop\11.txt','a',encoding="utf-8")as fillu: fillu.write('小兰:12本\n') fillu.write('小丽:11本\n') fillu.write('李文:9本\n') -- libgit2 0.25.0