Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simplify Python Output in Visual Studio Code

In visual studio code I want run simple python code (using the code runner extension) and it gives me info about runtime and where the file is. I don't want that, can I cut it out and only have the output?

Image

like image 633
yes Avatar asked Nov 07 '25 08:11

yes


1 Answers

Since you use the "Code Runner" extension, we can set it:

  1. We can add the following settings in "settings.json":

"code-runner.showExecutionMessage": false,

  1. or find the "showExecutionMessage" option in "settings", uncheck it:

    enter image description here

Run:

enter image description here

like image 175
Jill Cheng Avatar answered Nov 09 '25 23:11

Jill Cheng



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!