[SciPy-user] read ascii data
Wed Dec 12 04:57:14 CST 2007
I have a file containing ascii data related to a block-structured grid.
I could use readtxt, but I would like to have the possibility to read only
a certain range of rows out of the file. Lets say I have ten blocks in my grid
and each block 10 rows of data.
So in one read I would like to read for instance line 30 to line 39
I can use skip rows, but how can I limit the loadtxt to the upper limit?
Is there something already available or do I have to do it on my own?
Thanks in advance,
More information about the SciPy-user