From 6f9f549c41b4742d8d8d18bc2bb18c874a8a84f6 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 5 Dec 2021 09:29:48 +0800
Subject: [PATCH] save project

---
 diy.py | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 diy.py

diff --git a/diy.py b/diy.py
new file mode 100644
index 0000000..853b398
--- /dev/null
+++ b/diy.py
@@ -0,0 +1,8 @@
+# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
+fire1=open(r'C:\Users\XMBC\Desktop\1.txt','w',encoding='utf-8')
+fire1.write('小兰:12本\n')
+fire1.close()
+fire1=open(r'C:\Users\XMBC\Desktop\1.txt','a',encoding='utf-8')
+fire1.write('小强:12本\n')
+fire1.write('李明:15本\n')
+fire1.close()
\ No newline at end of file
--
libgit2 0.25.0