Commit 20c88374 by BellCodeEditor

save project

parent b4e98fee
Showing with 8 additions and 2 deletions
...@@ -10,4 +10,10 @@ file1.write('小丽:11本\n') ...@@ -10,4 +10,10 @@ file1.write('小丽:11本\n')
file1.write('李文:9本\n') file1.write('李文:9本\n')
file1.write('张伟:16本\n') file1.write('张伟:16本\n')
file1.close() file1.close()
with open('texe.txt',encoding='utf-8') as with open(r'C:\Users\Administrator\Desktop\texe.txt','w',encoding='utf-8') as file1:
\ No newline at end of file file1=writer('ws13')
with open(r'C:\Users\Administrator\Desktop\texe.txt','',encoding='utf-8') as file1:
file1 = read(file1)
for i in file1
print(i)
\ 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