原因:
python的 str 默认是ascii编码,和unicode编码冲突。
解决方法:
代码开头加上如下代码:
import
sys
reload
(sys)
sys.setdefaultencoding(
'utf8'
)