title: Python array, write a large array
body: <p>I have a 100*100 array in python and I used:
  <code>f.open(file_name)</code> and <code>f.write(matrix_name)</code> to write it in this file. Actually the matrix was written in the file but in this format:</p>
  
  <pre><code>[[ 1 1 1 1 1 1 1 1 1 1 1 1 1 1
     1 1 1 1 1 1 1 1 1 1 1 1 1 1
     1 1 1 1 1 1 1 1 1 1 1 8 91 1
     . 
     .
     .]
  [  7 8 1 1 1 1 1 1 1 1 1 1 1 1 
     1 1 1 1 1 1 1 22 3 4  5 6  6
     .
     .
     .]
  [  . 
     . 
     .
  ]]
  </code></pre>
  
  <p>so my problem that each row from the matrix was written in many rows in the file (e.g. row 1 was written in 17 rows in the file), because I need each row in the matrix printed in one row in the file.. so totally I need a 100 row in the file, not more than the 100 rows. </p>