[SciPy-user] scipy.io.read_array and numpy.fromfile

Travis E. Oliphant oliphant@enthought....
Mon Jan 21 20:31:39 CST 2008

Johann Cohen-Tanugi wrote:
> hi there,
> I am correct to understand that scipy.io.read_array has been deprecated 
> and that numpy.fromfile should now be used instead? In that case, it 
> seems that fromfile does nat hae a 'comment'
> attribute, which is unfortunate. Can someone infirm/confirm?
No, numpy.fromfile is "low-level"

numpy.loadtxt will be the long-term replacement for read_array.

-Travis O.

More information about the SciPy-user mailing list