Python Installation

Selenium web driver with Python, easy to write selenium scripts in Python. We will see how to set up Python and write selenium scripts.

Installing Python:

Step 1 To download and install Python visit the official website of Python http://www.python.org/downloads/ and choose your version. We have chosen Python version 3.6.3

 

 

Step 2 Once the download is complete, run the exe for install Python. Now click on Install Now.

 

 

Step 3 When it finishes, you can see a screen that says the Setup was successful. Now click on "Close".

Set Environment variable:

After installation we’ll need to create local variable PYTHON_HOME (which is really not mandatory, but will be useful) and check if Python added to the main Path. For that just follow screens below one by one.

Step 1:Open control panel ->Click Advanced setting

 

 

Step 2:Set python home

 

 

Step 3:Set path

 

 

Step 4:After running command “python  –version” in our command prompt.

 

 

 

Related Tutorials