title: parse data from txt which has one line
body: <p>I've a text file which contains text as:</p>
  
  <pre><code>[-0.602849, 1.57312, -0.157513][-0.508125, 1.57352, -0.142647][-0.434815, 1.54734, -0.108053][-0.401875, 1.61105, -0.0748559]
  </code></pre>
  
  <p>each '[ ]' indicates a vertex position, and all the data in one line, I want to get the vertex position as a numpy array.</p>
  
  <p>one solution is read all the data as a long string and then use ']' to split the string, and then use '[' to split, then use ',' to split, is there a better way?</p>