--- On Mon, 12/8/08, Matthieu Brucher <[EMAIL PROTECTED]> wrote:
> From: Matthieu Brucher <[EMAIL PROTECTED]>
> Subject: Re: [Numpy-discussion] What to use to read and write numpy arrays to
> a file?
> To: "Discussion of Numerical Python" <[email protected]>
> Date: Monday, December 8, 2008, 3:56 PM
> Hi,
>
> The repr - eval pair does not work with numpy. You can
> simply do a
> tofile() from file().
>
> Matthieu
Yes, I found the tofile/fromfile pair, but they don't preserve the shape.
Sorry, I should have been clearer on that in my request. I will be saving
arrays whose shape I may not know later when I read them in. I'd like that
information to be preserved.
Thanks.
-- Lou Pecora, my views are my own.
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion