Commit ec7b0e68 by BellCodeEditor

save project

parent c4cad29b
Showing with 15 additions and 11 deletions
s=open(r'C:\Users\Administrator\Desktop\text.txt','w',encoding='utf-8') # s=open(r'C:\Users\Administrator\Desktop\text.txt','w',encoding='utf-8')
s.write('zxc') # s.write('zxc')
s.close() # s.close()
s2=open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8') # s2=open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8')
s2.write('nmb') # s2.write('nmb')
s2.close() # s.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()
if 'zxc' in b: # if 'zxc' in b:
print('在里面') # print('在里面')
new_date=''
with open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8')as filel:
for data in s:
if 'xi'
......
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