python 字符串报错 but no encoding declared
yntaxError: Non-UTF-8 code starting with '\xe6' in file C:/Users/Administrator/PycharmProjects/py3spider/testpyquery/testpq1.py on line 395, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
再头部加
#*encoding=utf-8 就解决了