1.下載python解釋器
2.在VSCode市場中安裝Python插件html
tasks.jsonpython
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "taskName": "echo", "type": "shell", "command": "C:\\Python34\\python",//Python可執行文件路徑 "args": ["${file}"] } ] }
settings.jsonshell
"python.pythonPath": "C:\\Python34\\python" ,//路徑 "python.linting.enabled": false,//忘了是什麼東西了,反正有用