title: saving a set of arrays from python output to csv file
body: <pre><code>for tstep in arange (1,500,1):
      Intensity=np.sum(Itarray*detarray)
      print tstep*t*10**9, "\t", Intensity.real
  </code></pre>
  
  <p>For the above program how do I save the two arrays tstep*t*10**9 and Intensity.real into a csv file as two colums with a tab so that I get all the values as the loop goes from 1 to 500</p>