How to Install Python on Windows [VSCODE IDE]

Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. In this article we will see how to install Python on windows, verify if it installed correctly and will run one hello-world program.

Following are important characteristics of Python Programming

  • It supports functional and structured programming methods as well as OOP.
  • It can be used as a scripting language or can be compiled to byte-code for building large applications.
  • It provides very high-level dynamic data types and supports dynamic type checking.
  • It supports automatic garbage collection.

You can follow the below steps to install python on windows and start using.

Step 1 Download from official website

you can download python from the official website using the below link:

https://www.python.org/downloads/

Select the version you want to download or if not sure then just download the latest version available in the very first place as you will see in the below image.

Python download for windows | ashutoshtripathi.com | Data Science Duniya

in case you are looking for specific version then in the same page (the one you open from the above link) and you will find the all previous versions available as below.

Python previous releases on Python official website.

Step 2 After the download is completed, go to your download folder and run the .exe file to install the Python. Now click on Install Now.

Python installation step 2

Step 3 Once you clicked on “Install now”, you will the below screen as installation is in progress

Step 4 Once it is done, just click on close as below:

Python installation successful

Step 4 verify if it has installed correctly. Open the command prompt and just type “python –version” and it should return you the version you have installed as below.

check installed python version

Step 5 in case you do not have any IDE installed yet (which we will be installing later) then also you can write programs in simple notepad and execute them using command prompt as below.

Open command prompt and type “notepad hellow-world.py” and hit enter then you will see a notepad file will open. Their you can write your python code. for now I will just write a print statement which will print the hello world as the output of the program.

After clicking yes, you just type the print statement in the file and save it using “ctrl+s”

Now go back to your command prompt and run the file using “python hello-world.py” it will return the output as hello world.

Next: How to Install VS Code IDE on Windows

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).

Machine Learning Articles:

7 comments

  1. I’m reаlly impressed with youг writing skills
    and also with the layout on your Ƅlog. Iѕ this a paid
    theme or did you cᥙstߋmize it yourself? Anyway keep up the nice
    quality writing, it’s rare to see a great blog like
    this one today.

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.