I need to separate texts into paragraphs and be able to work with each of them. How can I do that? Between every 2 paragraphs can be at least 1 empty line. Like this:
this is worked for me:
text = "".join(text.splitlines()) text.split('something that is almost always used to separate sentences (i.e. a period, question mark, etc.)')