Let\'s say I have a page with a div. I can easily get that div with soup.find().
div
soup.find()
Now that I have the result, I\'d like to print the WHOLE <
One of the options could be use something like that:
innerhtml = "".join([str(x) for x in div_element.contents])