* 在.py file里如果有中文字,那么就会有下列error,即使save file as utf-8编码
SyntaxError: Non-ASCII character。。。。
解决方法是在该py file的开头加上
# coding=utf-8
* 在.py file里如果有中文字,那么就会有下列error,即使save file as utf-8编码
SyntaxError: Non-ASCII character。。。。
解决方法是在该py file的开头加上
# coding=utf-8