转自:https://www.zhihu.com/question/24559207
可以使用unicode函数
print (unicode("请输入销售额", encoding="utf-8"))
将utf-8编码转换为unicode就可以输出中文了。
转自:https://www.zhihu.com/question/24559207
可以使用unicode函数
print (unicode("请输入销售额", encoding="utf-8"))
将utf-8编码转换为unicode就可以输出中文了。