doesn't like / as a divide symbol
David Arnold
arnold at dstc.edu.au
Wed Oct 27 23:54:14 EDT 1999
-->"battery841" == battery841 <battery841 at usa.net> writes:
battery841> I don't get what's wrong with that. I believe that all
battery841> my arrays are okay. Any ideas?
try printing the type of both operands before attempting the divide.
i'm guessing one of them isn't a number.
print type(SATURATION_ARRAY[count]), type(MEASURED_ARRAY[count])
inside the loop should do the trick.
d
More information about the Python-list
mailing list