title: Creating N-dimensional dynamical array based on user's input?
body: <p>An ASCII file has 61 columns, from which the columns are read using <strong>readlines()</strong>. The user has the option to specify how many columns to use to create an n-dimennsional array based on his/her choice of number of columns.</p>
  
  <p>I want to create a dynamic n-dimensional array such as:</p>
  
  <pre><code>from numpy import *
  FILE = open('test.txt','rb')
  
  Choice = float(raw_input('How many columns do you want to use: \t'))
  
  A = [[],[],[],...]  # N-dimensional array (rows = 486, columns = N)
  </code></pre>
  
  <p>such that A has the dimensions based on the user's choice 'Choice'. 'N' can change between 1 and 61. How could I go about doing this?</p>
  
  <p>-Thanks!</p>