Python运行出现:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 717: ordinal not in range(128)
解决办法:在文件开头加上:
import sys reload(sys) sys.setdefaultencoding('utf-8')