quotechar str (length 1), optional The character used to denote the
start and end of a quoted item. Quoted items can include the delimiter
and it will be ignored.
quotingint or csv.QUOTE_* instance, default 0 Control field quoting
behavior per csv.QUOTE_* constants. Use one of QUOTE_MINIMAL (0),
QUOTE_ALL (1), QUOTE_NONNUMERIC (2) or QUOTE_NONE (3).
doublequote bool, default True When quotechar is specified and quoting
is not QUOTE_NONE, indicate whether or not to interpret two
consecutive quotechar elements INSIDE a field as a single quotechar
element.
.reac_csv
接受3个与引号有关的参数:(from the docs)
在这种情况下,似乎使用
quoting=csv.QUOTE_NONE
就足够了相关问题 更多 >
编程相关推荐