Shortening code for formatted output
<p>I must write a two dimensional array (let's say array[100][20]) into a file. This is just an example of my code: </p>

<pre><code>for i in range(0,99):
  print &gt;&gt; file, "%15.9e%24.15e%3d..." % (array[i][0], array[i][1], array[i][2], ... )
</code></pre>

<p>Is it possible to shorten it after "%" symbol with a slicing or something similar notation?</p>
