Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Copy and paste the data from "K3/3d" to a text file. Upload that file to your worksheet (I use Sage Notebook). (I name the file 'k3_d3_data.txt')

Open the file in your worksheet. Now you can iterate through the lines and convert the appropriate lines to matrices.

data_file = file(DATA+'k3_d3_data.txt','r')   
matrix_list = []    
while True:
    except StopIteration:
    row1 = [int(z) for z in]
    row2 = [int(z) for z in]
    row3 = [int(z) for z in]

for M in matrix_list:
    print M