[EMAIL PROTECTED] wrote: > Thanks for that. My version of python does'nt find "groupby". I am > using python 2.3.2. Is there a way I could do it with out using groupby
itertools.groupby is in Python 2.4. The docs[1] give a Python equivalent, so if for some reason you can't upgrade to the current version of Python, you can just copy the groupby code from there. STeVe [1]http://docs.python.org/lib/itertools-functions.html#l2h-1379 -- http://mail.python.org/mailman/listinfo/python-list