-1

I want my output in terminal instead of output tab because output tab doesn't show correct output but when I right click and select "Run in terminal" it shows the correct output.

  • Which VS Code extensions did you use? Do you use the extension "Code Runner"? – Jill Cheng Feb 22 '21 at 08:42
  • How are things going? Just checking in to see if the information provided was helpful. – Jill Cheng Mar 05 '21 at 08:42
  • Does this answer your question? [Code Runner in VSCode is running in output instead of CMD in the Terminal](https://stackoverflow.com/questions/63148583/code-runner-in-vscode-is-running-in-output-instead-of-cmd-in-the-terminal) – starball Feb 09 '23 at 00:34

1 Answers1

0

In VS Code, the Python extension provides the function of running python. Therefore, we can use the Python extension to output the result in the terminal: (The execution command of the green button in the upper right corner of VS Code is: Run Python File in Terminal)

enter image description here

Please try to "disable" the VS Code extension such as "Code Runner". The terminal it provides is an output terminal, so the result is displayed in "OUTPUT".

Jill Cheng
  • 9,179
  • 1
  • 20
  • 25