I have a dictionary grp that has lists

for each element ( excuse my terminology if it’s

incorrect).

 

So gname might be automobiles, finance, construction etc

and grp[gname] is a list and this list

has elements that are strings

such as [“AAA”,”BBB”,”AAA”,”CCC”]

 

Is there a quick way to loop through

the grp dictionary and reduce the lists

so that each only contains unique elements ?

 

                                     thanks

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to