Commit c6146f13 by BellCodeEditor

save project

parent ac1079e9
Showing with 4 additions and 3 deletions
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#asdf.write('daddd:10\n') #asdf.write('daddd:10\n')
#asdf.write('sghsa:\15n') #asdf.write('sghsa:\15n')
#asdf.close() #asdf.close()
with open(r'C:\Users\Administrator\Desktop\sb.doc','w',encoding='utf-8') as asdf: with open(r'C:\Users\Administrator\Desktop\sb.doc','a',encoding='utf-8') as asdf:
asdf.write('daddd:10\n')
asdf.write('sghsa:15\n') a=asdf.read()
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