XPATH

Rationale

  • Using lxml module

print(html.xpath("string()")) # lxml.etree only!
# IrisSetosa

print(html.xpath("//text()")) # lxml.etree only!
# ['Iris', 'Setosa']