title: loading complex numbers with numpy.loadtxt
body: <p>I know that if I want to save and load arrays of complex numbers with numpy, I can use the method described here: <a href="https://stackoverflow.com/questions/6494102/how-to-save-and-load-an-array-of-complex-numbers-using-numpy-savetxt/">How to save and load an array of complex numbers using numpy.savetxt?</a> . </p>
  
  <p>Assume however, that someone did not know about this and saved their array <code>numbers</code> with <code>numpy.savetxt("numbers.txt",numbers</code>), producing a file with entries of the form</p>
  
  <pre><code>(0.000000000000000000e+00+-2.691033635430225765e-02j)  .
  </code></pre>
  
  <p>In this case</p>
  
  <pre><code>numbers_load = numpy.loadtxt("numbers.txt").view(complex)
  </code></pre>
  
  <p>will, predictably, fail in the sense of</p>
  
  <pre><code>ValueError: could not convert string to float: (0.000000000000000000e+00+-2.691033635430225765e-02j)  .
  </code></pre>
  
  <p>What would be an easy way of extracting the complex numbers from this file (without generating a different version of it)?</p>