SyntaxError: Non-ASCII character '\xe6' in file c:/xxxxxxx/tmp.py on line 12, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
py文档最上面加此解决
# coding=utf-8
SyntaxError: Non-ASCII character '\xe6' in file c:/xxxxxxx/tmp.py on line 12, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
py文档最上面加此解决
# coding=utf-8
转载于:https://my.oschina.net/hcp/blog/3062425