title: Convert text file of arrays into a Python list
body: <p>My text file consists of a sequence of arrays all on the same line (i.e. no indentations). I'm trying to take these arrays and put them into a python list.</p>
  
  <p>The text file is like this:</p>
  
  <pre><code>[1,2,3,4],[1,2,3,5],[1,2,3,6],[1,2,3,7],[1,2,3,8],[1,2,3,9],[1,2,3,10]........
  </code></pre>
  
  <p>I'm trying to take this and make a list of lists such as:</p>
  
  <pre><code>[[1,2,3,4],[1,2,3,5],[1,2,3,6],[1,2,3,7],[1,2,3,8],[1,2,3,9],[1,2,3,10]]
  </code></pre>
  
  <p>I tried using the read method but all I get is one giant string. </p>