2.7版本,无法运行hello.py,提示语法错误
运行时提示
File "hello.py", line 1
SyntaxError: Non-ASCII character '\xe2' in file hello.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details,
看了网页的解决方案,试了前面加入
#!/usr/bin/python
# -*- coding: latin-1 -*-
还是不行