logo       

numarray, fromfile: msg#00012

python.numeric.general

Subject: numarray, fromfile

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


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise