[Numpy-discussion] numarray, fromfile

René Bastian rbastian at club-internet.fr
Sun Aug 8 12:58:12 CDT 2004


Hello,

sometimes (not always) :

           w=NA.fromfile(self.f, NA.Float64, d)

delivers an error message :  

TypeError : NA_intSequenceProduct: object is not a sequence

Why not always ?

There is no  error if one writes 

           w=NA.fromfile(self.f, NA.Float64, (d,))



-- 
René Bastian
http://www.musiques-rb.org : Musique en Python 




More information about the Numpy-discussion mailing list