可以解决csv行中有空字符不能读取reader的问题
csvfile = open('test.csv', 'rb')
data = csvfile.read()
csvfile.close()
fo = open('test2.csv', 'wb')
fo.write(data.replace('\x00', ''))
fo.close()
可以解决csv行中有空字符不能读取reader的问题
csvfile = open('test.csv', 'rb')
data = csvfile.read()
csvfile.close()
fo = open('test2.csv', 'wb')
fo.write(data.replace('\x00', ''))
fo.close()