SyntaxFix
Write A Post
Hire A Developer
Questions
With BeautifulStoneSoup gone in bs4, it's even simpler in Python3
BeautifulStoneSoup
bs4
from bs4 import BeautifulSoup soup = BeautifulSoup(html) text = soup.get_text() print(text)