[SciPy-user] Reading in data into a python program!!

Gael Varoquaux gael.varoquaux@normalesup....
Wed Sep 19 11:49:09 CDT 2007

On Wed, Sep 19, 2007 at 04:44:08PM +0000, Perez Kawumi wrote:
>    Im trying to import data from gmsh into a python program. Want to use this
>    data in matrix form. just asking for pointers as to where I can find
>    information on how to do this.   
>    I want to be able to creat a 54*4 matrix which I can manipulate.The data I
>    want to use is attached.

Remove the 5 first lines, the last one, and you can use
scipy.io.read_array, this can be done for instance by using the "lines"
argument of this function.

So, no custom code to write.


More information about the SciPy-user mailing list