1、安装Python https://www.python.org/
2、安装VSCodehttps://code.visualstudio.com/Download
3、在VSCode上安装Python Ctrl+P 调出控制台,敲ext install Python
4、Ctrl+Shift+P输入task,选中others,新建task.json文件,修改如下:
{
// See http://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "python",
"isShellCommand": true,
"args": ["${file}"],
"showOutput": "always"
}
Visual Studio Code配置 Python 开发环境
原文:http://www.cnblogs.com/mjxup/p/2d525281ff1383c0be85902e95a12276.html