文章内容
2020/1/1 10:13:06,作 者: 黄兵
Python写文件代码片段
python写文件示例:
f = open('/var/S/get_c_fo.txt', 'a+', encoding='utf-8') f.write('ip : ' + str(get_rte_ip) + ' , score : '+str(response_json)+'\n') f.close()
python写文件示例:
f = open('/var/S/get_c_fo.txt', 'a+', encoding='utf-8') f.write('ip : ' + str(get_rte_ip) + ' , score : '+str(response_json)+'\n') f.close()
评论列表