Charlie Parker
Charlie Parker

Reputation: 5291

How does one have a python interpreter with its own tab in vscode (in the integrated terminal)?

In the bottom window of vs code there is a debug console problmes output terminal:

enter image description here

I want to have one for my python intepreter. Is that possible?

I know I can open another terminal option but that is not what I am looking for but its what I am doing for now.

Upvotes: 0

Views: 59

Answers (2)

Charlie Parker
Charlie Parker

Reputation: 5291

I am not super happy with my current hacky solution but for now this is what I am doing:

  • click shift + enter on any line. That runs the command in the python shell.
  • Then do control+`, that sends your cursor to the python shell terminal
  • now you can try commands on python.

I really wanted just a tab of its own like debug consule that had python working all the time and I could go to it with a keyboard short cut but I guess this work for now...

Upvotes: 1

Mayur Fartade
Mayur Fartade

Reputation: 317

You can use the run option from right top. check this image to execute.

or simply click on terminal and enter python or python3 (depends on version installed on your machine)

Upvotes: 0

Related Questions