SyntaxError: Non-ASCII character ‘\xe5‘ in file a.py on line 9, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
在文件头部加:
#-*-coding:utf-8-*-
2022-08-20 16:50:47
SyntaxError: Non-ASCII character ‘\xe5‘ in file a.py on line 9, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
在文件头部加:
#-*-coding:utf-8-*-