Commit dda06b3e by BellCodeEditor

auto save

parent c8b37ec4
Showing with 5 additions and 7 deletions
abc = "" with open(r'C:\Users\12486\Desktop\001\001.txt','r',encoding='utf-8') as file:
a=file.readlines()
with open(r"C:\Users\12486\Desktop\001.txt\001.txt","w",encoding="utf-8") as file1: for i in a:
flie1.write("lan:12'\n'wen:9'\n'wei:16") int(i)
for i in file1:
print(i) print(i)
if 'lan:12' in file1:
print('is in there!')
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