Python错误:SyntaxError: Non-UTF-8 code starting with

Python错误:SyntaxError: Non-UTF-8 code starting with 原因是Windows环境下,.py源代码中使用了非UTF-8的编码格式。 解决方法(Eclipse): Project - Properties - Resource  进入这个设置面板后 Text file encoding项目中, Other - UTF-8 然后Apply and Close
相关文章
相关标签/搜索