diff --git a/diy.py b/diy.py index 73f4492..d53df2d 100644 --- a/diy.py +++ b/diy.py @@ -1 +1,3 @@ # 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本' +file=open(r'C:\\Users\\Administrator\\Desktop\\test.txt','w',encoding='utf-8') +file \ No newline at end of file