We have to install python in our operating system to use selenium python bindings for our project.
1. Navigate to https://www.python.org/downloads/
2. Download the latest version of the Python or a stable release, for this tutorial we will be using python 3 (version above 3 are considered as 3 in general terms)
3. Install the python installer (I am on the Windows 10 operating system), and select add the path
4. After installing, open the command prompt, and type python, you should get version and >>> python editor. If you get them, then your python installation is successful.

pip install -U selenium
from selenium import webdriver


python setup.py install or python install setup.py
from selenium import webdriver.
We cannot code all the things in the python editor, because as the code block increases it becomes difficult to continue with coding. To edit the python code quickly, we have to use an IDE for development. In this tutorial, I will be using Eclipse with PyDev.
PyDev is a kind of plugin for the eclipse to support the Python programming.
1. After installing Eclipse, Goto Help >Eclipse marketplace
2. Now search for "pyDev" and install the software
3. Accept the License and Restart the eclipse.
4. We have to open PyDev perspective to edit python code, Window > Perspective > Open Perspective > Other, and choose PyDev

5. Create first Project, File > New > PyDev Project
6. For the first time, we have to set the interpreter, click to configure the interpreter.
7. Click on the Auto-config option, and then finish the creating project wizard.
8. Right-click on the python project and Create a new Pydev Module, and select blank
9. Enter the following command in the coding area and Click the run button in Eclipse.
from selenium import webdriver
10. You can choose how you want to run either Just python program or as UnitTest Program
Unlike other programming languages, Python provides a live editor, which is you can control the browser entering command by command.
I am not talking about debugging; Debugging is a process where you will checkpoint and run the complete program step by step to understand the flow and error.
Python console gives the ability to run a live command. For example, I have opened a browser, and I Opened Google.com, but I realize I want to open Bing.com, now I do not have to stop the program as I am in the live editor I just change the commands.
1. Open the Eclipse console.
2. On the Right-hand corner, you can find an icon to like a rectangle with + sign, click it.
3. Choose PyDev Console
4. Select Console for current Editor
5. Now you have a live console and type the commands that you want to use.
Webdriver Wait in Python Selenium
I am Pavankumar, Having 8.5 years of experience currently working in Video/Live Analytics project.