title: Creating lists from data file
body: <p>I have a pre-defined list that gives data in the form of (min, max, increment). for example:</p>
  
  <pre><code>[[0.0 1.0 0.1 #mass 
    1.0 5.0 1.0 #velocity
    45.0 47.0 1.0 #angle in degrees
    0.05 0.07 0.1 #drag coeff.
    0.0 0.0 0.0 #x-position
    0.0 0.0 0.0]] #y-postion
  </code></pre>
  
  <p>and this goes on a for a few more variables. Ideally I want to take each one in as an individual variable declaration and create a finite list of each value in the given range. </p>
  
  <p>For example, mass would be:</p>
  
  <pre><code>m = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
  </code></pre>
  
  <p>this way I can utilize <code>itertools.combinations((m, x, b,...), r)</code> to create all possible combinations given the various possibilities of each variable.</p>
  
  <p>Any suggestions?</p>