美文网首页工作心得体会
vscode code runner 运行python 中文乱码

vscode code runner 运行python 中文乱码

作者: 魔王大柚子 | 来源:发表于2020-11-11 09:44 被阅读0次
插件扩展页面选择扩展设置,或者打开路径:@ext:formulahendry.code-runner
找到code-runner.executorMap,修改为: "python": "set PYTHONIOENCODING=utf8 && python -u",
再次运行就正常了

相关文章

网友评论

    本文标题:vscode code runner 运行python 中文乱码

    本文链接:https://www.haomeiwen.com/subject/teqebktx.html