xd0专题

python初学日志——SyntaxError:Non-UTF-8 code starting with ‘\xd0‘ in file name.py on line 2

参见:python初学日志——SyntaxError:Non-UTF-8 code starting with ‘\xd0’ in file name.py on line 2

【python】报错:SyntaxError: Non-UTF-8 code starting with ‘\xd0‘ in file 随手记

报错详情: SyntaxError: Non-UTF-8 code starting with '\xd0' in file C:/Users/wsw/PycharmProjects/wsw.py on line 5, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 解决方法一: