python selenium get image src

driver.find_element_by_id("element_id").get_attribute("src")

Here is what the above code is Doing:
1. It finds the element with the id “element_id”
2. It gets the attribute “src” of that element
3. It returns the value of that attribute