visual studio – How to make the Python terminal on VScode only show the output


I have just recently get into Python programming. In the YouTube videos I’ve watched, every time they run a Python program, the VS Code terminal only show the output.

In my VS Code, it also shows two windows’ directories first before showing the output, which I’d rather not have. Below is my code on the computer screen:
PS C:\Users\Bill\Desktop\Artificial Intelligence> &

C:/Users/Bill/AppData/Local/Programs/Python/Python312/python.exe "c:/Users/Bill/Desktop/Artificial Intelligence/Day 1 - Self-taught Py/snake.py"
1

Is there any way I could make VS Code only show the output?

Leave a Reply

Your email address will not be published. Required fields are marked *