Commit 7ee92537 by BellCodeEditor

save project

parent 8595961a
Showing with 13 additions and 2 deletions
s=open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8') s=open(r'C:\Users\Administrator\Desktop\text.txt','w',encoding='utf-8')
s.write('SBSBSBSBSBSBSBSBSBSBSBSBSBSBSBSBSBSBSBS BS BSBSBSBSBSBBSBSBSBSSBSBSBSBSBSBSBSBBSSBBSBS') s.write('zxc')
s.close() s.close()
s2=open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8')
s2.write('nmb')
s2.close()
s=open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8')
b=s.read
for i in s:
if 'zxc' in i:
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