VSCode配置执行python 发表于 2017-06-08 更新于 2022-08-03 分类于 Tools 评论数: 本文字数: 595 阅读时长 ≈ 1 分钟 VSCode 配置键盘快捷键12345[ { "key": "ctrl+'", "command": "workbench.action.tasks.terminate" }, { "key":"ctrl+b", "command": "workbench.action.tasks.build"}, { "key":"ctrl+shift+b", "command": "workbench.action.toggleSidebarVisibility"}] 执行python1234567891011121314151617task.json{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", "command": "E:/MyProgram/python/python.exe", "isShellCommand": true, "args": [ "${file}" ], "showOutput": "always", "options": { "env": { "PYTHONIOENCODING": "UTF-8" } }}