修改python编码

添加

import sys

reload(sys)

sys.setdefaultencoding('utf-8')


你可能感兴趣的:(python编码)