# Generate soup soup = BeautifulSoup(content, 'html.parser') with open(ddir+'propiedades.html', 'w') as _F: _F.write(soup.prettify()) code example
Example: reate the "soup." This is a beautiful soup object:
soup = bs.BeautifulSoup(source,'lxml')
soup = bs.BeautifulSoup(source,'lxml')