[SciPy-user] Is scipy.io.numpyio.fread working?
Jose Luis Gomez Dans
josegomez at gmx.net
Wed Nov 21 11:25:43 EST 2007
Hi,
-------- Original-Nachricht --------
> a = scipy.io.numpyio.fread(fp, 2400*2400,'f',byteswap=1)
>
> This bombs with a
> <type 'exceptions.TypeError'>: fread() takes no keyword arguments
The problem might be in the docstring. If I just do
a = scipy.io.numpyio.fread(fp, 2400*2400,'f',byteswap=1).byteswap()
it works perfectly. However, the docstring appears to be from an older version of scipy where byteswapping was indeed part of fread.
Is it a bug?
Thanks,
Jose
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
More information about the SciPy-User
mailing list