编程语言
首页 > 编程语言> > SyntaxError: Non-UTF-8 code starting with '\xbb' in file D:\流畅学python\ex32.py on line 1

SyntaxError: Non-UTF-8 code starting with '\xbb' in file D:\流畅学python\ex32.py on line 1

作者:互联网

报错如下:

 

 

解决办法:

1. 去掉首行的汉字注释

 

标签:declared,code,encoding,python,SyntaxError,报错
来源: https://www.cnblogs.com/kevin-hou1991/p/14766489.html