I have an html code like this:
My HomePage
<
print [a.findAll(text=True) for a in soup.findAll('a')]