Python write to file without overwriting current txt
This question already has an answer here:
而不是"w"使用open功能的"a" (追加)模式:
with open("games.txt", "a") as text_file:
链接地址: http://www.djcxy.com/p/42392.html
上一篇: 在Python中追加文本到文件
