Download and setup Python on windows machine
Download latest version of python from python.org/downloads/
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
C:\python\Scripts is required, if you want to install any python package using pip command.
Verify if python is installed
Start | Run | cmd
you should see the result as
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)]
Type "help", "copyright", "credits" or "license" for more information.
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!