logo
Loading...

使用newline原因 - Cupoy

1. what will happen if we don't use newline ?2.  w...

pycrawler,pycrawler-d02,newline

使用newline原因

2019/12/11 05:21 下午
Python網路爬蟲討論版
Tommie Chen
觀看數:5
回答數:2
收藏數:0
pycrawler
pycrawler-d02
newline

1. what will happen if we don't use newline ?


2.  what's its meaning ??  and what's file object ??

If csvfile is a file object, it should be opened with newline=''.  


thx