# Getting Started with Python in Visual Studio: A Step-by-Step Guide

## Step 1

Go to this link: [https://visualstudio.microsoft.com/downloads/](https://visualstudio.microsoft.com/downloads/)

## Step 2

Click on the download button under the community heading. Now, just wait for the download.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681377095510/3d097398-7382-49aa-8925-d2682994df0d.png align="center")

## Step 3

Run the installer and wait for the installation wizard to open (shown in the image below)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681623871867/62214a30-210b-47dd-9a2f-990dbe193029.png align="center")

## Step 4

Tick the option labeled 'Python development' to enable support for Python. On the right side of the screen, select any additional components you require (select the ones with blue colored ticks) Click 'Install' at the bottom-right corner to begin the installation process.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681624821490/e7c8c54d-db0e-430c-ae8d-b715d82dee84.png align="center")

## Step 5

Click on the launch button

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681654699834/6fbd096b-c224-435d-8a39-ca646b1973d4.png align="center")

## Step 6

You will be given the option to sign into an account or you can skip it. You can choose whatever fits you at the moment.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681655221601/4a500a91-96a3-4817-b7bc-2c524bc44fea.png align="center")

## Step 7

Choose your preferred theme and clock on start visual studio.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681655360821/968b1421-57e4-479f-82fe-a4a99436d710.png align="center")

## Step 8

After starting the visual studio, you should be met with the below screen.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681655628033/37b5a4a4-3611-4760-8c40-3f0a8ec21921.png align="center")

## Step 9

Go to "File" on the menu bar and select "New" &gt; "Project". You should see the below screen.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681656206593/3652378f-f786-4d1d-9603-b2c8f051e3b6.png align="center")

## Step 10

In the "New Project" dialog box, select "Python" under "Create a new project". Select the Python application and then click next at the bottom-right corner.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681657325687/dc2a5745-4a2e-4c70-8ba6-84db6fbc3845.png align="center")

## Step 11

Give your project a name and choose a location to save it. Then click on the Create button in the bottom-right corner.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681657484511/358d8f68-3304-4703-b084-b40bd103b9f5.png align="center")

## Step 12

In the "Solution Explorer" window, find and double-click on the file that ends with the ".py" extension (e.g. "[program.py](http://program.py)"). Type the following code: print("Hello world") and then run the program by clicking on start.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681658402443/33102e71-fc5d-4472-bb98-c735d1acd930.png align="center")

## Step 13

The output of the program, "Hello, World!", should appear in the "Output" window as seen below.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681658438413/df916b6d-4e2e-443c-aa07-9b865ee10919.png align="center")

That was all. I hope that it was fun for all of you. Next time, we shall look at variables.
