CSV空行问题

当写入CSV时生成的数据会有空行
如果加入 newline =‘’ 不会新增空行
writefile = open('result.csv','w',newline =‘’)


原贴 https://blog.csdn.net/pfm685757/article/details/47806469

猜你喜欢

转载自www.cnblogs.com/BugPudge/p/10317600.html