Commit 2f9fe659 by BellCodeEditor

auto save

parent 6bf3cf21
Showing with 8 additions and 3 deletions
file1=open('C:\\Users\\玛酷\\Desktop\\新建文件夹\\text.txt','w',encoding='utf-8')
file1.write("fh:24335353535")
file1.close()
\ No newline at end of file
file1.write("小兰:16\n")
file1.write("小刚:17\n")
file1.close()
with open('C:\\Users\\玛酷\\Desktop\\新建文件夹\\text.txt','a',encoding='utf-8')as file1:
file1.write("小叶:10\n")
file1.write("小李:120\n")
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