SyntaxError: Non-UTF-8 code starting with '\xbd' in file

SyntaxError: Non-UTF-8 code starting with '\xbd' in file E:/python_project/request_test/practice/singleNode.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

解决办法:

模块首行添加  #coding=utf-8 或者 #coding=GBK

 

posted on 2019-09-17 14:25  cherry_ning  阅读(1259)  评论(0)    收藏  举报

导航