How to set up Python on Visual Studio Code in 2021
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/
Java Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4Y1XQOqNsL9Fgg_p6nYhcng
JavaScript Game Programming Projects Playlist:
https://www.youtube.com/playlist?list=PLnKe36F30Y4bLhA-st9sC4ZthyV7nsL2Q
Subscribe for more coding tutorials 😄!
Other Videos By Kenny Yip Coding
2022-02-06 | How to Build Connect 4 with Javascript HTML CSS |
2022-02-05 | Build Tic Tac Toe with JavaScript HTML CSS Tutorial |
2022-02-04 | How to Build Sudoku JavaScript Tutorial |
2022-01-30 | [메이플] I Recreated Maplestory Match Cards 메이플스토리 같은 그림 찾기 (HTML, CSS, JavaScript, node.js) |
2022-01-29 | Build a Wordle Clone in JavaScript HTML CSS |
2022-01-29 | Wordle Clone Demo (HTML, CSS, JavaScript) - tutorial in description! |
2021-11-14 | [메이플] I Recreated Maplestory Omok Minigame 메이플스토리 오목 (HTML, CSS, JavaScript, node.js) |
2021-06-01 | Python Number of Factors |
2021-06-01 | Run Time Complexity |
2021-05-31 | Run Time Python |
2021-05-19 | How to set up Python on Visual Studio Code in 2021 |
2021-05-16 | C++ Practice Problems |
2021-05-16 | Name Mangling Python |
2021-05-11 | Import Files in Python |
2021-05-11 | Sorting Custom Objects in Python |
2021-05-06 | mul vs rmul python |
2021-05-04 | C++ User Input |
2021-05-04 | C++ Ternary Operator |
2021-05-02 | C++ Conditional Statement |
2021-05-02 | C++ Logic Operator |
2021-05-02 | Increment and Decrement in C++ |