vscode code runner 运行python 中文乱码

插件扩展页面选择扩展设置,或者打开路径:@ext:formulahendry.code-runner
找到code-runner.executorMap,修改为: "python": "set PYTHONIOENCODING=utf8 && python -u",
再次运行就正常了

你可能感兴趣的:(vscode code runner 运行python 中文乱码)