How to set up Python on Visual Studio Code
How to setup Python on Visual Studio Code (vscode) Install Python: https://www.python.org/ Install Visual Studio Code: https://code.visualstudio.com/ After...

Kenny Yip Coding
1.4M views โข May 19, 2021

About this video
How to setup Python on Visual Studio Code (vscode)
Install Python: https://www.python.org/
Install Visual Studio Code: https://code.visualstudio.com/
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.
To have code runner output to the terminal instead of the built-in output console, click the settings icon (gear icon) on the bottom left corner. Scroll down until you see Code Actions on Save. Click settings.json and the file will open.
Add this line inside the json file: "code-runner.runInTerminal": true,
After that, you are all set!
Website: https://www.kennyyipcoding.com/
Python Object Oriented Programming Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4Ykmi2jE28BZahMgPAV3Dzv
Python Data Structures and Algorithms Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4bcRomKi02sP9NR27KnBqCK
Python Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4bamRi07AOYS1qGDv_2MGMW
Subscribe for more coding tutorials ๐!
โญ If you enjoyed the tutorial and would like to support the channel, you can do so here ๐: https://buymeacoffee.com/kennyyipcoding
Install Python: https://www.python.org/
Install Visual Studio Code: https://code.visualstudio.com/
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.
To have code runner output to the terminal instead of the built-in output console, click the settings icon (gear icon) on the bottom left corner. Scroll down until you see Code Actions on Save. Click settings.json and the file will open.
Add this line inside the json file: "code-runner.runInTerminal": true,
After that, you are all set!
Website: https://www.kennyyipcoding.com/
Python Object Oriented Programming Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4Ykmi2jE28BZahMgPAV3Dzv
Python Data Structures and Algorithms Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4bcRomKi02sP9NR27KnBqCK
Python Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4bamRi07AOYS1qGDv_2MGMW
Subscribe for more coding tutorials ๐!
โญ If you enjoyed the tutorial and would like to support the channel, you can do so here ๐: https://buymeacoffee.com/kennyyipcoding
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
1.4M
Likes
16.3K
Duration
6:57
Published
May 19, 2021
User Reviews
4.6
(271) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now