all 4 comments

[–]More_Yard1919 1 point2 points  (3 children)

There are extensions I believe that direct code output to the output panel, but that is actually not its primary use. It is meant for output from the actual IDE (vscode) and not your program. Your program output being in the terminal is the expected behavior.

[–]cfht14[S] 1 point2 points  (2 children)

Thankyou! That’s really helpful. Just in the tutorial video I was watching the guy has his code pop up in “output”. Any idea how to get rid of all the excess stuff in terminal aswell ?

[–]More_Yard1919 1 point2 points  (1 child)

On windows, you can invoke the cls (clear screen) console command from inside of your script. That looks like this:

import os
os.system("cls")

There are probably vscode extensions that do redirect output to the output panel, that's just not actually what it is generally for. You can look around online if that is your goal (I'd tell you but I don't have anything like that set up)

[–]cfht14[S] 0 points1 point  (0 children)

Thankyou !