Download and setup Python on windows machine

Download

Download latest version of python from python.org/downloads/

Install

Using the default location or any other folder path

Note: Keep the folder path handy [where python is installed], which we will use later

Set environmental variable

Open your environmental variable, under system variable section, append your python installed path

let’s say, I have installed under c:\python

then, path = …….;c:\python;C:\python\Scripts

Note:

C:\python\Scripts is required, if you want to install any python package using pip command.

Verify if python is installed

Start | Run | cmd

enter python

you should see the result as

 Run Python

Once you installed, you will get a default Python editor,

you can find it under Start | All programs | Python x.x | IDLE (python x.x)

and you can write a small script on python shell [IDLE] as shown in below screenshot and hit enter, you will see the result

Content posted is based on learning or working experience,
Share the post with others if find useful,
Any queries?, leave comments or discuss on our facebook:qavalidation.com, Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *