Downloading and
installing python:-
Step 1:- Open https://software.rc.fas.harvard.edu/training/scraping/install/ Link.

Image 1.
Step 2:- Download the
appropriate for your architecture(32-bit or 64-bit).
Step 3:- Run the installer and click through the prompts.
Default options are usually just fine.
This installs IDLE, too, by default.
Step 4:- Search for "IDLE"

Image 2.
Step 5:- Open IDLE and type the script.

Image 3.
Step 6:- Open Command Prompt and direct to the folder where
script is saved.
Step 7:- type "python <script name>"

Image 4.