SyntaxError: Non-UTF-8 code starting with '\xc4' 报错解决办法

解决前 ''' Created on 2019年3月2日 @author: 9243 ''' print ("Hello, Python!") # 第二个注释 解决后 ''' coding=utf-8 ''' print ("Hello, Python!") 注释中增加了 coding=utf-8 且注意 文件的格式需要修改为utf-8 如下
相关文章
相关标签/搜索