Gordon Airporte wrote: > I was going to try tweaking defaultdict, but I can't for the life of me > find where the collections module or its structures are defined. Python > 2.5. Thanks all. I was expecting it in Python. Time to dust off my C :-P