摘要: 问题: 当使用python csv库写入时,发现当写入多行是,每两行中间都有空行,解决办法如下with open("test.csv",'w') as f: writer=csv.writer(f) writer.writerow([line1]) writer.writerows([line2]) 阅读全文
posted @ 2020-11-13 17:17 LK还有梦想 阅读(456) 评论(0) 推荐(0) 编辑