Rich Shepard wrote: > On Fri, 15 Sep 2006, Peter Otten wrote: >> It's not clear to me why you would use dictionaries, especially >> as they are unordered; I used lists instead:
> Because the data comes via a serial port as sequences of two > bytes from an > OMR reader, and the byte pairs need to be converted into values > meaningful to the application. That doesn't answer the question. A list of 2-tuples would do the same (and was ordered and could be indexed). Regards, Björn -- BOFH excuse #408: Computers under water due to SYN flooding. -- http://mail.python.org/mailman/listinfo/python-list