with open(abccsv, "r", newline='',encoding="UTF-8") as file: reader = csv.reader(file, quotechar='"', delimiter=",",quoting=csv.QUOTE_ALL) # counter = 0 for row in reader: print(row)

问题描述 投票:0回答:1
好吧,其他系统已经以逗号作为分隔符,向我发送了csv。一行有一列,其样本值为:,“” ABC。 &XYZ(CfdfB,afGgM)_0110“” ,。此列的行原因是...
python python-3.x csv double-quotes
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.