I am trying to convert an html block to text using Python.
Input:
The '\n' places a newline between the paragraphs.
'\n'
from bs4 import Beautifulsoup soup = Beautifulsoup(text) print(soup.get_text('\n'))