Python 3 系统默认使用的就是utf-8编码, 就不需要sys.setdefaultencoding(“utf-8”)这段代码, 而且Python 3 的 sys 库里面已经没有 setdefaultencoding() 函数了