Patrick
Patrick

Reputation: 1237

Add Python terminal in VS Code

I am trying to run Python from VS Code. I have already activated python through the terminal. However, in the terminal selector in the lower right of the screen, I cannot find Python terminal option there: enter image description here

I wish to ask how could I make Python terminal visible here so that the next time I wish to switch terminal to Python, I do not have to load a .py file but could just selecting Python terminal directly. Thank you.

Upvotes: 2

Views: 6286

Answers (3)

Baby Boss
Baby Boss

Reputation: 11

Open a new terminal and type "python -u". Hit the enter key. Bhoom! You're good to use Python shell in VS Code.

Python Shell in VS Code

Upvotes: 1

software_dev_wannabe
software_dev_wannabe

Reputation: 43

Python terminals aren't really a thing. If you want to run a .py file, do $ python [filename].py or $ python3 [filename].py. If you want to just run commands, open a Python shell by doing $ python or $ python3

Upvotes: 2

mightyandweakcoder
mightyandweakcoder

Reputation: 844

There is no Python terminal. If you are asking about loading Python shell you just have to type python into your terminal to load the Python shell

Upvotes: 0

Related Questions