title: How to split lists into smaller lists at certain points in python?
body: <p>I have a list of different things and I was wondering how to split it every time it hits a new name? </p>
  
  <p>So what I would like to have is have it take a list that looks like this:</p>
  
  <pre><code>list = [corn, 14, 2, 500, broccoli, 2, 10, 1400, potato, 2, 14, 7]
  </code></pre>
  
  <p>and it will create 3 lists:</p>
  
  <pre><code>list1 = [corn, 14, 2, 500]
  
  list2 = [broccoli, 2, 10, 1400]
  
  list3 = [potato, 2, 14, 7]
  </code></pre>
  
  <p>I am guessing it would be something along the lines of a loop that repeats a new list until it hits a non integer, but I really dont know how it would look set up.</p>