Commit e46c5bd3 by BellCodeEditor

save project

parent b447a544
Showing with 7 additions and 2 deletions
with open() as file1:
file1.write("小钱:100000本\n")
file1.write("小铭:100000本\n")
with open(r"C:\xuyuyang\test.txt",'a',encoding='utf=8') as file1:
file1.write("小丽,10本\n")
with open(r"C:\xuyuyang\test.txt",'a',encoding='utf=8 as file1:
file1.write("小丽,10本\n")')
with open(r"C:\xuyuyang\test.txt",'r',encoding='utf=8') as file1:
for data in file1:
......
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