title: Python: How to remove empty lists from a list?
body: <p>I have a list with empty lists in it:</p>
  
  <pre><code>list1 = [[], [], [], [], [], 'text', 'text2', [], 'moreText']
  </code></pre>
  
  <p>How can I remove the empty lists so that I get:</p>
  
  <pre><code>list2 = ['text', 'text2', 'moreText']
  </code></pre>
  
  <p>I tried list.remove('') but that doesn't work.</p>