Reputation: 2896
I'm in iPython notebook. I scraped a website and now my text formatting contains all of the hidden "\n" and so on...
Is there a way to see the output formatted with the newlines and everything?
Upvotes: 0
Views: 38
Reputation: 1578
From this answer:
from IPython.core.display import display, HTML
display(HTML(myHTML))
Upvotes: 1