Python Installation -How to install python

Following are the steps to install python :

Step 1:
From website Download Python | Python.org
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

Replies

You are reading an archived discussion.

Related Posts

In which field automation is need?
is electronic seat belt in car is available or not?
Hey I have a query with CDAC i have opted for pg-dac course in Mumbai TICA isn't the placements for cdac regional wise? If i am from Mumbai all the...
One company needs an noise filter for varying torque and the efficiency is also less....so what type of filter we can choose???
I am N.Santhanalakshmi from tiruppur. I am studying computer science engineering year at Nandha College of Technology,Erode. I am glad to joined here.