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
相關文章
相關標籤/搜索