title: How do you clear the contents (elements &|| text) of an element with BeautifulSoup in Python?
body: <p>Having got an element, how do you empty it with BeautifulSoup?</p>
  
  <p>For example, I have a div (as shown below), what do I need to do to clear it's contents?</p>
  
  <pre><code>mydiv = soup.find("div", { "id" : "TopMostInfoBlockContent" })
  mydiv.?? #Something here to clear the div contents?
  </code></pre>