Commit 1d33cfb9 by BellCodeEditor

save project

parent c49fce13
Showing with 4 additions and 2 deletions
...@@ -3,5 +3,6 @@ vw=open(r'C:\Users\EDY\Desktop\sb.txt',"a",encoding='utf-8') ...@@ -3,5 +3,6 @@ vw=open(r'C:\Users\EDY\Desktop\sb.txt',"a",encoding='utf-8')
vw.write("你是个大傻逼") vw.write("你是个大傻逼")
vw.close() vw.close()
with open(r'C:\Users\EDY\Desktop\sb.txt',"a",encoding='utf-8')as vw: with open(r'C:\Users\EDY\Desktop\sb.txt',"r",encoding='utf-8')as vw:
vw.write("你是个大傻逼") q=vw.read()
print(q)
\ 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