consider following HTML:
abc
I want t
HTML
You could use the XPATH as :
//div[@id='a']//a[@class='click']
output
That said your Python code should be as :
driver.find_element_by_xpath("//div[@id='a']//a[@class='click']")