vscode运行python 配置task.json问题求解

vscode运行python 配置task.json:
{
"version": "0.1.0",
"command": "python",
"isShellCommand": true,
"args": ["test3.py"],
"showOutput": "always"
}
运行时提示错误:
"isShellCommand": true,
NameError: name 'true' is not defined

第1个回答  2017-11-28
把task.json关掉,再运行 .py
第2个回答  2016-10-22
亲,你的true首字母要大写
将true该成True