"Alan Gauld" <[EMAIL PROTECTED]> wrote
index = float(the_line[-1]) dif_index = index - start_index iindex[field] = dif_indexHere index is assigned to a floating point number. Then it is indexed. Floats don't have indexes...
Just noticed the indexed variable has a double i so not the same. Might be better to pick a more descriptive name though! :-)
Alan G. _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
