best way to compare contents of 2 lists?

Esmail ebonak at hotmail.com
Fri Apr 24 12:48:58 CEST 2009


Thanks all, after reading all the posting and suggestions for
alternatives, I think I'll be going with

sorted(a)==sorted(b)

it seems fast, intuitive and clean and can deal with
duplicates too.

Best,
Esmail




More information about the Python-list mailing list