UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position 0: i报错

在程序的顶部加了下面两行就好了,中文也可以正常显示了

#!/usr/bin/env Python
# coding=utf-8

posted @ 2018-02-01 21:38  路在脚下丶  阅读(4089)  评论(0编辑  收藏  举报