[Numpy-discussion] numpy.loadtxt requires seek()?

Stéfan van der Walt stefan@sun.ac...
Thu Nov 20 13:41:25 CST 2008


2008/11/20 Ryan May <rmay31@gmail.com>:
> Does anyone know why numpy.loadtxt(), in checking the validity of a
> filehandle, checks for the seek() method, which appears to have no
> bearing on whether an object will work?

I think this is simply a naive mistake on my part.  I was looking for
a way to identify files; your patch would be welcome.

Cheers
Stéfan


More information about the Numpy-discussion mailing list