title: Matrix in python
body: <p>I am very new to Python, I need to read numbers from a file and store them in a matrix like I would do it in fortran or C;</p>
  
  <pre><code>for i
    for j
      data[i][j][0]=read(0)
      data[i][j][1]=read(1)
      data[i][j][2]=read(2)
  ...
  ...
  </code></pre>
  
  <p>How can I do the same in Python? I read a bit but got confused with tuples and similar things</p>
  
  <p>If you could point me to a similar example it would be great</p>
  
  <p>thanks</p>