save_path = unicode('Mazi_cause/'+item[1],'utf-8')
但是在保存文件的时候,因为filena也包含中文字符,所以也想去进行转码,结果提示:
TypeError: decoding Unicode is not supported
分析发现是因为代码前面转过了,所以已经是unicode 了,不需要转
save_path = unicode('Mazi_cause/'+item[1],'utf-8')
但是在保存文件的时候,因为filena也包含中文字符,所以也想去进行转码,结果提示:
TypeError: decoding Unicode is not supported
分析发现是因为代码前面转过了,所以已经是unicode 了,不需要转