reading matrix from a file

amit soni amit_605 at
Wed Nov 8 06:42:39 CST 2006

  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?
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...
-------------- 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
-------------- next part --------------
Numpy-discussion mailing list
Numpy-discussion at

More information about the Numpy-discussion mailing list