05 Aug 2015

Python Installation -How to install python

Following are the steps to install python :

Step 1:
From website https://www.python.org/downloads/
Download any of the latest version available.


Step 2: Set Path in Environment Variables
-Control Panel\System and Security\System\ -Click on Advance System Setting
-Click on Environment variables
-From System variables, Click on Path and append path of python


Step 3: Prepare Test script
-Open note pad
-Paste below code and save as test.py (.py is python extension)

class Sample():

print ("Welcome to Python World");

Step 4: Run the test script
-Now you can run your test scripts using command prompt. Place your script in D drive
-Open command prompt
Type below command python test.py


Be the first one to reply

Share this content on your social channels -

Only logged in users can reply.