为什么我不能在 VS 代码中接受用户输入?
Why cant I take user input in VS code?
如何在 VS 代码中获取用户输入?
这是我的 launch.json 文件:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${config:python.interpreterPath}",
"program": "${file}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
],
"console": "integratedTerminal"
}
]}
我还需要做什么?
设置这个。
{
"code-runner.runInTerminal": true
}
这个问题几乎可以肯定是 this
的骗局
如何在 VS 代码中获取用户输入? 这是我的 launch.json 文件:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${config:python.interpreterPath}",
"program": "${file}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
],
"console": "integratedTerminal"
}
]}
我还需要做什么?
设置这个。
{
"code-runner.runInTerminal": true
}
这个问题几乎可以肯定是 this
的骗局