Subscribe
提醒
guest

5 评论
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
波岛
波岛
4 年 之前

运行.py文件,提示
SyntaxError: Non-UTF-8 code starting with ‘\xa1’ in file C:\Users\Administrator\Desktop\qq.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

波岛
波岛
Reply to  tom
4 年 之前

视频里没有加,是因为系统设置了相应的编码格式吗?在哪里设置?

张某人
张某人
Reply to  波岛
4 年 之前

在程序编码前加入那行就行 需要提前声明的项目

5
0
交流思想,留下评论.x