best way to compare contents of 2 lists?
Esmail
ebonak at hotmail.com
Thu Apr 23 21:54:02 EDT 2009
Hans DushanthaKumar wrote:
> 'set' comes to mind,
Yes, I thought about that, but I wasn't sure how to potentially
deal with different number of duplicates in the lists. The post
by David seems to address that issue nicely.
> though I'm not sure if there are performance
> inplications with large amopunts of data.
Yes, I wonder about these sort of things too, not knowing too
much about how Python does things internally.
Thanks for the suggestion,
Esmail
More information about the Python-list
mailing list