title: Split a python list into other "sublists" i.e smaller lists
body: <p>I have a python list which runs into 1000's. Something like:</p>
  
  <pre><code>data=["I","am","a","python","programmer".....]
  </code></pre>
  
  <p>where, len(data)= say 1003</p>
  
  <p>I would now like to create a subset of this list (data) by splitting the orginal list into chunks of 100. So, at the end, Id like to have something like:</p>
  
  <pre><code>data_chunk1=[.....] #first 100 items of list data
  data_chunk2=[.....] #second 100 items of list data
  .
  .
  .
  data_chunk11=[.....] # remainder of the entries,&amp; its len &lt;=100, len(data_chunk_11)=3
  </code></pre>
  
  <p>Is there a pythonic way to achieve this task? Obviously I can use data[0:100] and so on, but I am assuming that is terribly non-pythonic and very inefficient.</p>
  
  <p>Many thanks.</p>