reading matrix from a file
amit soni
amit_605 at yahoo.co.in
Wed Nov 8 07:42:39 EST 2006
Hi,
i have a file with following format:
1 2
3 9
2 3
4 4
I want to read it and then store the values into two matrices, s.t.
A=[1 2;3 9]
B=[2 3;4 4]
Can anyone tell me how to do this in python?
thanks
Amit
---------------------------------
Check out the all-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20061108/1b3df0b8/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list