问题
SyntaxError: Non-UTF-8 code starting with '\xe3' in file test.py on line 8, but no encoding declared; see /dev/peps/pep-0263/ for detailsProcess finished with exit code 1
大意:以 '\xe3' 开头的非 UTF-8 代码,但未声明编码
解决方式
第一行增加
# -*- coding: utf-8 -*-
时间:2022-04-29 00:40:52
SyntaxError: Non-UTF-8 code starting with '\xe3' in file test.py on line 8, but no encoding declared; see /dev/peps/pep-0263/ for detailsProcess finished with exit code 1
大意:以 '\xe3' 开头的非 UTF-8 代码,但未声明编码
第一行增加
# -*- coding: utf-8 -*-
高考作文神作:他755字满分文章令老师惊叹 阅卷组近2000字详尽注解
2024-08-05