VisualStudioCodeの使い方
pythonプログラムの実行の仕方
コマンドパレットで以下をタイプ
Tasks: Configure Task Runner
task.jsonを以下に変更
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", //"command": "tsc", //変更 "command": "python", "isShellCommand": true, //"showOutput": "silent", //変更 "showOutput": "always", //"args": ["-p", "."], //変更 "args": ["${file}"], "problemMatcher": "$tsc" }
- Ctrl+Shift+Bで実行
lint
{ "python.linting.flake8Enabled": true }
参考: python lint