1、SyntaxError异常
报错内容:
SyntaxError: Non-UTF-8 code starting with '\xd2' in file *.py on line 24, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
问题:二进制问题
解决方法:
# coding:utf-8
2024-03-22 13:46:16
1、SyntaxError异常
报错内容:
SyntaxError: Non-UTF-8 code starting with '\xd2' in file *.py on line 24, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
问题:二进制问题
解决方法:
# coding:utf-8