Commit 2fce0d2c by BellCodeEditor

save project

parent 7f1be978
Showing with 4 additions and 5 deletions
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#.close() #.close()
with open(r"C:\Users\稚慧人生\Desktop\SB.txt",'a',encoding='utf-8')as a: #
a.write('a:1\n') with open(r"C:\Users\稚慧人生\Desktop\SB.txt",'r',encoding='utf-8')as a:
a.write('s:2\n') s=a.read()
print(s)
\ 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