0
点赞
收藏
分享

微信扫一扫

关于Python遇到utf-8编码模式问题

素锦时年_1b00 2022-02-25 阅读 80
python

问题:SyntaxError: (unicode error) ‘utf-8’ codec can’t decode byte 0xb7 in position 0: invalid start byte

解决方法:

在最上方加上#-*-coding:GBK -*-

举报

相关推荐

0 条评论