Selenium Python Switch a iframe

# go to iframe
driver.switch_to.frame(iframe)

# back to previous frame
driver.switch_to.parent_frame()
marcofaga