报错:_csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)

import csv with open (r’C:\Users\jacky\Desktop\test\test.csv’,‘rb’) as myfile: lines =csv.reader(myfile) for line in lines: print(line) 出现报错: Traceback (most recent call last): File “c:/Users/jacky/De
相关文章
相关标签/搜索