There are various numpy and scipy input/output functions described here:<br><br><a href="http://www.scipy.org/Cookbook/InputOutput">http://www.scipy.org/Cookbook/InputOutput</a><br><a href="http://docs.scipy.org/doc/scipy/reference/io.html">http://docs.scipy.org/doc/scipy/reference/io.html</a><br>
<br><div class="gmail_quote">On Mon, Apr 25, 2011 at 10:32 AM, Zhaoru Zhang <span dir="ltr"><<a href="mailto:zhaoruzhang@gmail.com">zhaoruzhang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi guys,<br>
<br>
I have a time loop and at each time step I get a 1-d array and want to save it in the data file 'data.dat '(or whatever suffix), so finally i got . I made this by using the python 'write' function, but I' thinking about if there is any numpy function that can realize this? Thanks.<br>

<br>
Zhaoru<br>
<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div><br>