[Numpy-discussion] What to use to read and write numpy arrays to a file?

Lou Pecora lou_boog2000 at yahoo.com
Mon Dec 8 16:26:20 EST 2008


--- On Mon, 12/8/08, Robert Kern <robert.kern at gmail.com> wrote:

> From: Robert Kern <robert.kern at gmail.com>
> Subject: Re: [Numpy-discussion] What to use to read and write numpy arrays to a file?
> 
> The most bulletproof way would be to use numpy.save() and
> numpy.load(), but this is a binary format, not a text one.
> 
> -- 
> Robert Kern
> 

Thanks, Robert.  I may have to go that route, assuming that the save and load pair preserve shape, i.e. I don't have to know the shape when I read back in.


-- Lou Pecora,   my views are my own.




      



More information about the NumPy-Discussion mailing list