unique values of a Dictionary list (removing duplicate elements of a list)

2010-05-21 Thread Chad Kellerman
Python users, I am parsing an AIX trace file and creating a dictionary containing keys (PIDS) and values (a list of TIDS). With PIDS being unique process ids and TIDS, being a list of thread ids. My function populates the keys so that they are unique, but my list contains duplicates.

Re: unique values of a Dictionary list (removing duplicate elements of a list)

2010-05-21 Thread Peter Otten
Chad Kellerman wrote: Python users, I am parsing an AIX trace file and creating a dictionary containing keys (PIDS) and values (a list of TIDS). With PIDS being unique process ids and TIDS, being a list of thread ids. My function populates the keys so that they are unique, but my

Re: unique values of a Dictionary list (removing duplicate elements of a list)

2010-05-21 Thread Chad Kellerman
On Fri, May 21, 2010 at 7:50 AM, Peter Otten __pete...@web.de wrote: Chad Kellerman wrote: Python users, I am parsing an AIX trace file and creating a dictionary containing keys (PIDS) and values (a list of TIDS). With PIDS being unique process ids and TIDS, being a list of

Re: unique values of a Dictionary list (removing duplicate elements of a list)

2010-05-21 Thread Chad Kellerman
On Fri, May 21, 2010 at 8:07 AM, Chad Kellerman sunck...@gmail.com wrote: On Fri, May 21, 2010 at 7:50 AM, Peter Otten __pete...@web.de wrote: Chad Kellerman wrote: Python users, I am parsing an AIX trace file and creating a dictionary containing keys (PIDS) and values (a list

Re: unique values of a Dictionary list (removing duplicate elements of a list)

2010-05-21 Thread Peter Otten
Chad Kellerman wrote: On Fri, May 21, 2010 at 8:07 AM, Chad Kellerman sunck...@gmail.com wrote: On Fri, May 21, 2010 at 7:50 AM, Peter Otten __pete...@web.de wrote: Chad Kellerman wrote: Python users, I am parsing an AIX trace file and creating a dictionary containing keys