Commit cfb2cfcc by BellCodeEditor

auto save

parent 9d9f5e7f
Showing with 3 additions and 4 deletions
......@@ -4,9 +4,8 @@
#file.write('小丽:11本\n')
#file.write('李文:9本\n')
#file.write('张伟:16本\n')
with open(r'C:\Users\Administrator\Desktop \texe.txt','w',encoding='utf-8') as file:
file=writer('2222222')
with open(r'C:\Users\Administrator\Desktop \texe.txt','w',encoding='utf-8') as file:
file=read(file)
with open(r'C:\Users\Administrator\Desktop\texe.txt','w',encoding='utf-8') as file:
file=write('2222222')
with open(r'C:\Users\Administrator\Desktop\texe.txt','r',encoding='utf-8') as file:
for i in file:
print(i)
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