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

2011-04-25 Thread Isaiah Norton
There are various numpy and scipy input/output functions described here: http://www.scipy.org/Cookbook/InputOutput http://docs.scipy.org/doc/scipy/reference/io.html On Mon, Apr 25, 2011 at 10:32 AM, Zhaoru Zhang wrote: > Hi guys, > > I have a time loop and at each time step I get a 1-d array and

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

2011-04-25 Thread Zhaoru Zhang
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. Zha