原文:SyntaxError: Non-UTF-8 code starting with '\xc5' in file t.py on line 3,but no encoding declared;see http://python.org/dev/peps/pep-0263/ for details

解决方案是: 在程序最上面加上: coding gbk 这样程序就可以正常运行了。 ...

2014-10-21 16:30 0 4242 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM