Commit 2c2a6dbe by BellCodeEditor

save project

parent 345589b0
Showing with 2 additions and 2 deletions
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# filel.close() # filel.close()
# with open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8')as filel: # with open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8')as filel1:
# filel.write('QQ:1本\n') # filel.write('QQ:1本\n')
with open(r'C:\Users\Administrator\Desktop\text.txt','a',encoding='utf-8')as filel1: with open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8')as filel1:
a = filel1.read() a = filel1.read()
print(a) print(a)
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