logo
Loading...

使用newline原因 - Cupoy

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

pycrawler,pycrawler-d02,newline

使用newline原因

2019/12/11 09:21 AM
Python網路爬蟲論壇
Tommie Chen
觀看數:0
回答數: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