From 6d66d276b6327c977d4c1791fae0f392c61d2b48 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 20 Mar 2021 15:23:40 +0800 Subject: [PATCH] save project --- swim.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/swim.py b/swim.py index 4787785..fe70789 100644 --- a/swim.py +++ b/swim.py @@ -1,6 +1,9 @@ -with open(r'C:\Users\user\Desktop\book.txt','a',encoding = 'utf-8')async def -](parameter_list): - pass +with open(r'C:\Users\user\Desktop\book.txt','r',encoding = 'utf-8') as file1 +for i in file1: + print(i) +if '小强' in i: + print('在') + -- libgit2 0.25.0