Write to file in a schedule task Python
This question already has an answer here:
Use f = open('PlotData.txt', 'a')
instead of f = open('PlotData.txt', 'w')
'w': Overwrite the existing file
'a': Append to the existing data in the file
链接地址: http://www.djcxy.com/p/42408.html上一篇: 使用python进行ping并保存到文件
下一篇: 在计划任务Python中写入文件