diff lists

Carlos Alberto Reis Ribeiro cribeiro at mail.inet.com.br
Wed Mar 28 12:21:21 EST 2001


Look at the kjBuckets package. It implements an efficient set type that is 
good for large operations such as set intersection, set union, etc.

At 14:47 28/03/01 +0200, Oliver Vecernik wrote:
>Hi,
>
>I've got following two lists:
>
>['a', 'b', 'c', 'd', 'e', 'f']
>['e', 'c', 'f']
>
>I'd like to have the result:
>
>['a', 'b', 'd']
>
>The list need not to be ordered. ['d', 'a', 'b'] will also be ok. What
>is the most effective way to achive that result?
>
>Oliver
>--
>http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list