1、安裝Python插件
2、在要運行的Python工作空間里,修改tasks.json
用以下內(nèi)容覆蓋
{ "version": "0.1.0", "command": "C:\Python35\python.exe", "isShellCommand":"true", "shadowOutput":"always", "args": ["${file}"] }
3、然后Ctrl+Shift+b運行即可
相關(guān)教程推薦:vscode教程
1、安裝Python插件
2、在要運行的Python工作空間里,修改tasks.json
用以下內(nèi)容覆蓋
{ "version": "0.1.0", "command": "C:\Python35\python.exe", "isShellCommand":"true", "shadowOutput":"always", "args": ["${file}"] }
3、然后Ctrl+Shift+b運行即可
相關(guān)教程推薦:vscode教程