Python运行报SyntaxError: Non-UTF-8 code starting with ‘\xe5‘ in file的解决方法


在文件的最上方,新增

# coding:utf-8