Record what vscode run python files, configuration python environment
1, install python plugin
2, just create a python file
3, the python profile launch.json
4, add user settings
Click File-> Prefrences-> Settings, then click on the upper right corner, enter json mode, as follows
5, add python.pythonPath
6, run the code
(1) The first way: the upper right corner triangle
(2) Right-run python file in terminal