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.

upload_2015-8-5_16-27-37

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

upload_2015-8-5_16-32-3


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

upload_2015-8-5_16-36-53

Be the first one to reply

Share this content on your social channels -

Only logged in users can reply.