Python运行时遇到UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1: ordinal not in range(128)的问题 找到报错的地方。在前一行加上: reload(sys) sys.setdefaultencoding('utf-8') 再运行就可以了。 Python的字符串真的是麻烦啊。 Bon Appetite~