PyMe icon indicating copy to clipboard operation
PyMe copied to clipboard

python3 为什么会报错SyntaxError: Non-ASCII character '\xe6' in file

Open SaltNego opened this issue 4 years ago • 1 comments

错误信息输出窗口. Traceback (most recent call last): File "Project4.py", line 4, in import Project4_cmd File "D:\Download\IDM\Compressed\Compressed\TKinterDesigner-v1.6.2-win64\Project4\Project4_cmd.py", line 9, in import Fun File "D:\Download\IDM\Compressed\Compressed\TKinterDesigner-v1.6.2-win64\Project4\Fun.py", line 1 SyntaxError: Non-ASCII character '\xe6' in file D:\Download\IDM\Compressed\Compressed\TKinterDesigner-v1.6.2-win64\Project4\Fun.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

SaltNego avatar Mar 26 '22 01:03 SaltNego

版本1.6.2

SaltNego avatar Mar 26 '22 01:03 SaltNego