Nicht direkt. Python 2.3 bekommt wohl ein Modul fuer Sets, dass vielleicht so was kann. Alternativ koenntest Du das BTrees Package von Zope verwenden. Dort gibt es entsprechende Operation auf Sets. -aj --On Montag, 28. Oktober 2002 11:54 +0200 Klinger Christian <cklinger@econtec.de> wrote:
Hallo Liste
wieder mal ein kleines Problem
ich habe zwei Listen:
a= ('chriss','thomas') b= ('chriss','thomas','gustav')
jetzt möchte ich nur die werte haben die nicht doppelt in Liste b und b vorkommen!!
also
c= ('gustav')
gibt es hierfür vielleicht eine funktion ???
mfg christian
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - ---------------------------------------------------------------------