'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:
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.
Solution 1:[1]
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
Solution 2:[2]
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | mightyandweakcoder |
Solution 2 | software_dev_wannabe |