title: Python split() without removing the delimiter
body: <p>This code almost does what I need it to..</p>
  
  <pre><code>for line in all_lines:
      s = line.split('&gt;')
  </code></pre>
  
  <p>Except it removes all the '>' delimiters.</p>
  
  <p>So,</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;
  </code></pre>
  
  <p>Turns into</p>
  
  <pre><code>['&lt;html','&lt;head']
  </code></pre>
  
  <p>Is there a way to use the split() method but <em>keep</em> the delimiter, instead of removing it?</p>
  
  <p>With these results..</p>
  
  <pre><code>['&lt;html&gt;','&lt;head&gt;']
  </code></pre>