SyntaxError: Non-UTF-8 code starting with '\xca' in file ------ on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
解决方案
# coding=<encoding name> or (using formats recognized by popular editors) #!/usr/bin/python # -*- coding: <encoding name> -*- or #!/usr/bin/python # vim: set fileencoding=<encoding name> :
# coding=<encoding name> or (using formats recognized by popular editors) #!/usr/bin/python # -*- coding: <encoding name> -*- or #!/usr/bin/python # vim: set fileencoding=<encoding name> :