python 常见错误异常

 

SyntaxError: Non-ASCII character '\xe8' in file /home/yunpeng/workspace/coolway/member/manager.py on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

文件头需要加上:# -*- coding: utf-8 -*-

你可能感兴趣的:(python)