title: Python - List of lists of different lengths
body: <p>I need to create a list which contains two lists.
  Something like</p>
  
  <pre><code>biglist = [list1,list2]
  </code></pre>
  
  <p>with </p>
  
  <pre><code>list1 = [1,2,3]
  list2 = [4,5,6,7,8]
  </code></pre>
  
  <p>where <code>list1</code> and <code>list2</code> have DIFFERENT length and are imported from file.</p>
  
  <p>I did it the following way:</p>
  
  <pre><code>biglist = []
  list1 = #...taken from file. I checked this and it poduces a list exactly how I want it to be: [1,2,3]
  biglist.append(list1)
  </code></pre>
  
  <p>and likewise for <code>list2</code></p>
  
  <p>but the problem is that I get </p>
  
  <pre><code>biglist = [array([1,2,3]),array([4,5,6,7,8])]
  </code></pre>
  
  <p>as opposed to </p>
  
  <pre><code>biglist = [[1,2,3],[4,5,6,7,8]]
  </code></pre>
  
  <p>and I really don't want the <code>array</code> thing, I prefer to have simple lists.
  how to get around this?</p>