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

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Nov 22 06:36:57 CST 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://projects.scipy.org/pipermail/scipy-user/attachments/20071122/dcd55fe4/attachment.gz 


More information about the SciPy-user mailing list