[Numpy-discussion] matrix file format

Peter I. Hansen pih at oek.dk
Tue Dec 12 09:01:01 EST 2000


I'm trying to find out what format a matrix input file should have in
example :

I have the matrix :
[[1 2 3
   4 5 6
   7 8 9]]

and want to read it to nympy from a text-filen that is easy for a user
to generate in an editor.

Can you tell me how to do that. I read the manual and it didnøt given
much af on idea.

I thank you in advance

Peter I. Hansen

More information about the NumPy-Discussion mailing list