python2中的unicode()函数在python3中会报错:
将unicode()转换为 str()为:
//python2:
unicode(row[col_name],'utf-8')
//python3:
str(row[col_name])
python2中的unicode()函数在python3中会报错:
将unicode()转换为 str()为:
//python2:
unicode(row[col_name],'utf-8')
//python3:
str(row[col_name])