Possible Duplicate:
Python: How to find list intersection?
I have two lists of data in a .txt
data1 = "name1", "name2", "name3", "name4" etc.
data2 = "name3", "name6", "name10" etc.
I want to find out which names appears in both list How would I do it?