diy.py 131 Bytes Edit 1 2 with open(r'C:\Users\70471\Desktop\books.txt',"a",encoding="UTF-8") as file: file.write("小强:12本、\n李明:15本\n")