SyntaxError: Non-ASCII character '\xe7' in file /, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
python 不支持中文引起的
在文件头加上# -*- coding: UTF-8 -*-
版权声明:本文为zhangyu4863原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
SyntaxError: Non-ASCII character '\xe7' in file /, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
python 不支持中文引起的
在文件头加上# -*- coding: UTF-8 -*-