Commit a468a4cc by BellCodeEditor

save project

parent bfdc405a
Showing with 7 additions and 2 deletions
file1= open(r"C:\Users\铭方 曹霞\Desktop\text.txt",'w',encoding='utf-8') file1= open(r"C:\Users\铭方 曹霞\Desktop\text.txt",'a',encoding='utf-8')
file1.write('小兰:12') #file1.write('小兰:12\n')
#file1.write('小丽:11\n')
file1.write('小强:12\n')
file1.write('李明:777777\n')
file1.close() file1.close()
......
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