SyntaxError: Non-UTF-8 code starting with ‘\xd5‘ in file
SyntaxError: Non-UTF-8 code starting with ‘\xd5’ in file c:/Users/Administrator/Desktop/text/open.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
解决方案:在开头加上# – coding: gbk –
原创
2021-01-30 16:11:57 ·
3471 阅读 ·
0 评论