Home > Mobile >  Add Python terminal in VS Code
Add Python terminal in VS Code

Time:05-15

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.

CodePudding user response:

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

CodePudding user response:

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

  • Related