Commit 13e602ce by BellCodeEditor

save project

parent e37cb0f3
Showing with 4 additions and 1 deletions
......@@ -4,5 +4,7 @@
# file1.write('小丽:11本')
# file1.close()
file1=open(r'C:\Users\Administrator\Desktop\test.txt','r',encoding='utf-8')
for file1
for data in file1:
if '小兰:12本' in file1:
data=data.replace('')
file1.close()
\ No newline at end of file
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