Now that both the pre-requisites are installed, we can go ahead and start setting up the development environment for Visual Studio Code for python.įirst things first. I have previously downloaded python, and my installed version is 3.8.1 and not 3.8.3: If python has been installed successfully, this command will return the version of the python that has been installed. Once python has been downloaded and installed, you can open up the command prompt and run the following command to verify if the installation has been successful. Let us first navigate to and download Python 3.8.3: Again, we can install python on all three operating systems like Windows, Linux, and macOS. Once Visual Studio Code is up and running, the next thing that we would need to set up is a python runtime environment.
After the installation is successful, you can see Visual Studio Code being started, which looks like below:
Once the download is completed, proceed with the normal installation. I am going to choose Windows, System Installer 64 bit, and proceed with the installation:įigure 1 – Download Visual Studio Code for Windows Navigate to and select the appropriate platform to install the software. For Linux and macOS, the process will be almost similar however, there might be some changes in the commands. Also, I will be using Windows as the development environment for setting up the python environment also.
#How to run code in visual studio code how to#
For the sake of this article, I am going to show how to install the same on Windows. You can visit to download it based on the OS you are using.Īs I have already mentioned, VS Code can be downloaded and installed on any of the operating systems. Visual Studio Code is available to be downloaded for all the major operating systems like Windows, Linux, and macOS. Visual Studio Code or, popularly known as VS Code, is one of the free and open-source code editors developed by Microsoft and is mostly preferred by developers of all the major programming languages due to its flexibility and other integrated development tools like debugging, IntelliSense, etc.
In this article, I am going to explain how to set up your Visual Studio Code for Python Development.