Python Selenium Set Attribut of Element

driver.execute_script("arguments[0].setAttribute('value',arguments[1])",element, value)
Jealous Jay