SyntaxError: Non-ASCII character
在代码开头加上
# coding: utf-8
IndentationError: unexpected indent 是缩进的问题,也有可能是tab和空格混用啦