解决AttributeError: module 'sys' has no attribute 'setdefaultencoding' 技术分享 2022-06-14 491 阅读 0 评论 Python 3 系统默认使用的就是utf-8编码, 就不需要sys.setdefaultencoding("utf-8")这段代码, 而且Python 3的sys库里面已经没有setdefaultencoding()函数。 本文为原创文章,转载请注明出处。 原文链接:http://www.quartlog.com/post/解决attributeerror-module-sys-has-no-attribute-setdefaultencoding
评论(0)
还没有评论,来抢沙发吧~