您的位置:首页 > 编程语言 > Python开发

VSCode python环境运行搭建

2016-09-16 13:42 1296 查看
tasks.json

{
"version": "0.1.0",
"command": "python",
"isShellCommand": true,
"args": ["${file}"],
"options": {
"env": {
"PYTHONIOENCODING": "UTF-8"
}
},
"showOutput": "always"
}


launch.json

{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"externalConsole": false,
"program": "${file}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
}
]
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  python