[Numpy-discussion] using numpy to save arrays in a loop

Isaiah Norton isaiah.norton at gmail.com
Mon Apr 25 10:40:12 EDT 2011

There are various numpy and scipy input/output functions described here:


On Mon, Apr 25, 2011 at 10:32 AM, Zhaoru Zhang <zhaoruzhang at gmail.com>wrote:

> Hi guys,
> 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.
> Zhaoru
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110425/19ac3761/attachment.html>

More information about the NumPy-Discussion mailing list