title: How to remove empty lines with or without whitespace in Python
body: <p>I have large string which I split by newlines.
  How can I remove all lines that are empty, (whitespace only)?</p>
  
  <p>pseudo code:</p>
  
  <pre><code>for stuff in largestring:
     remove stuff that is blank
  </code></pre>