[Numpy-discussion] Writing/reading a numeric array to a file

Arnd Baecker arnd.baecker at web.de
Thu Nov 10 04:31:46 EST 2005


On Thu, 10 Nov 2005, Joris De Ridder wrote:

> On Wednesday 09 November 2005 20:21, Travis Oliphant wrote:
>
> > SciPy core arrays have tofile methods and a fromfile function.  They are
> > raw reading and writing --- nothing fancy.   You need to use Pickling if
> > you want to recognize endian-ness among platforms.  What is your
> > opposition to Pickling?
> >
> > I think you should take a look at PyTables for more elegant solutions.
>
>
> The read_array and write_array of the old scipy.io are very handy.
> Any chance that they will be incorporated somehow in the new scipy?
> PyTables is powerful but perhaps a bit overkill if you just want to
> read or write a few columns in ascii format.

They are already there in newscipy
(as most of the other routines from "old" scipy).

Best, Arnd




More information about the NumPy-Discussion mailing list