From 58dd3029478bfda5708de9d8dc3341c958f6ff8e Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 11 Dec 2021 15:28:59 +0800 Subject: [PATCH] save project --- good.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/good.py b/good.py index e69de29..126b3d6 100644 --- a/good.py +++ b/good.py @@ -0,0 +1,4 @@ +with open(r'C:\Users\mkjqr\Desktop\python.txt','r',encoding='utf-8') as a: + for data in a : + if '上帝,1个银河系' in data : + print('数据在文件中') \ No newline at end of file -- libgit2 0.25.0