转中文
python3
filename='csvfile_'+now+'_report.csv'
csvfile=codecs.open(filename,'w')
writer = csv.writer(csvfile)
csvfile.write(bytes.decode(codecs.BOM_UTF8))
转中文
python3
filename='csvfile_'+now+'_report.csv'
csvfile=codecs.open(filename,'w')
writer = csv.writer(csvfile)
csvfile.write(bytes.decode(codecs.BOM_UTF8))