From ecf2ca6d257f183931a81b9607172ff7e7bd9d16 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 9 Apr 2022 11:26:41 +0800 Subject: [PATCH] auto save --- diy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diy.py b/diy.py index 73f4492..344b3c2 100644 --- a/diy.py +++ b/diy.py @@ -1 +1,3 @@ # 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本' +file=open(r'C:\Users\21901\Desktop\text.txt') +file.write('小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本') \ No newline at end of file -- libgit2 0.25.0