[SciPy-user] Read an array from a file using io.read_array

Nils Wagner nwagner at iam.uni-stuttgart.de
Thu Nov 22 07:36:57 EST 2007


Hi all,

Is it possible to use io.read_array for the following 
task.

I have an ascii file realeig.pmat.
The essential information in this file is a table with 4 
columns and several lines corresponding to the number of 
computed eigenvalues.
The task is to read that information from a file.
Empty lines and lines beginning with "!", "$" should be 
skipped.
How can I handle the delimiter "&" which is used to 
continue lines ?

Any pointer would be appreciated.

Nils
-------------- next part --------------
A non-text attachment was scrubbed...
Name: realeig.pmat.gz
Type: application/x-gzip
Size: 1057 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20071122/dcd55fe4/attachment.bin>


More information about the SciPy-User mailing list