Compare two lists?
list(set(b).difference(set(a)))
done
I quite like this:
[i for i in a if i not in b]
It brings me happy happy joy joy.
Name (required)
Mail (will not be published) (required)
Website
( Cancel )
No trackbacks yet.
July 19th, 2009 - 21:19
I quite like this:
[i for i in a if i not in b]
It brings me happy happy joy joy.