使用网上某个python程序,编译时报错:
段首添加一行声明即可:
#encoding:utf-8
版权声明:本文为csdn博主[applebite](http://blog.csdn.net/applebite) 原创文章,转载请注明出处,侵权必究。
Non-ASCII character '\xe8' in file xxx.py on line 8, but no encoding declared
原文地址:http://blog.csdn.net/applebite/article/details/47733233