Commit c4cad29b by BellCodeEditor

save project

parent 58544168
Showing with 3 additions and 3 deletions
...@@ -5,9 +5,9 @@ s2=open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8') ...@@ -5,9 +5,9 @@ s2=open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8')
s2.write('nmb') s2.write('nmb')
s2.close() s2.close()
s=open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8') s=open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8')
b=s.read b=s.read()
for i in b:
if 'zxc' in b: if 'zxc' in b:
print('在里面') print('在里面')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment