To write and code any programming language, we need a very good text editor or IDE. IDE stands for Integrated Development Environment. It helps us to write and run the code. When it comes to Python, we need an advance IDE to write and run the Python code. In this article, you will learn how to set up Visual Studio Code for Python.
Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux, and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.
Python is a popular high level and general purpose programming language. It is used to create desktop GUIs, Web-based application, website and many more. In addition, it is widely used in scientific computing, data analysis, and deep learning applications.
Recommended: How to Install Python On Windows 7, 8.1 and 10
Here we are going to learn how to set up Visual Studio Code for Python on a windows computer. Before that, we have to download and install the Python programming language and Visual Studio Code. For that here are some recommended articles to read.
Recommended: How to Install Visual Studio Code on Windows 10
After installing the required software follow these simple steps to set up Python on Visual Studio Code.
How To Setup Visual Studio Code For Python
Step 1: Open Visual Studio Code and click on Extension from the left-hand-side menu.
Step 2: To set up Python, we have to install Python extension on Visual Studio Code. For that, search for Python and install Python extension.
Step 3: After installing the Python extension, we have to reload the software to activate the extension. Now you are ready to use Visual Studio Code for Python programming.
Follow these simple steps or you can follow the video tutorial mentioned above. Hope we helped you.