How to set up Python on Visual Studio Code in 2023

preview_player
Показать описание
How to setup Python on Visual Studio Code (vscode)

After installing python, open the command prompt/terminal, and type in python --version or py --version. If you have installed python successfully, you will see the version of python you have.
Open vscode, and create new file. Name it whatever you want, but be sure to include the .py extension.

On the left, click the extensions icon, and search for Python. Install the python extension by Microsoft. This will allow for Python support in vscode.
Then, search for code runner and install the extension. This will add a run button at the top right of your vscode. Clicking this button will run your python code.
After that, you are all set!

Subscribe for more coding tutorials 😄!
Рекомендации по теме
welcome to shbcf.ru