T. Earle wrote: > "if list a[key] exists, then append; otherwise, create a new list" when a is a dict, key the required key, and object the value you want to insert; a.setdefault(key,[]).append(object) --Irmen