Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find duplicates in python list

names = ['name1', 'name2', 'name3', 'name2']
set([name for name in names if names.count(name) > 1])
 
PREVIOUS NEXT
Tagged: #find #duplicates #python #list
ADD COMMENT
Topic
Name
9+6 =