常常遇到: File "test.py", line 2 SyntaxError: Non-ASCII character '\xe4' in file test.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details ALL u NEED #!/usr/bin/python # -*- coding: UTF-8 -*- print "你好,世界";