Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '(although': 0.05; 'python:': 0.05; 'subject:two': 0.07; 'python': 0.08; 'subject:compare': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'batteries': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:similar': 0.16; 'tue,': 0.17; 'operations.': 0.19; 'guess': 0.19; 'header:In-Reply-To:1': 0.21; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'message-id:@mail.gmail.com': 0.28; 'thanks': 0.28; 'subject:?': 0.29; 'bit': 0.30; 'done': 0.32; 'to:addr:python-list': 0.33; 'subject:What': 0.35; 'subject:lists': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'subject:: ': 0.38; 'should': 0.39; 'easier': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; '"most': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=hDo3mEsLZDNNeXY4GPm3v8wc4AA+cAq8dIpqqwR2UUY=; b=g/AWyW/szTLsB8glV/tRCtaviBqdvCvD7FCNoarogHgzAfuJVawfkZ32+0j6BkB2St m6FgdAS9A2gIJOlf3bNIssO7DLgeQ7etAEnsccP7iRRHRwmDlas0mdvnZ0pk7GyVtigv OzP3NrajcCfcUKXIWU3CIyPrF6YOF8KsY2fdI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JlnrOtkjcN2LtdE6AT0Ww1UlPo1chkY+9eP9C+GOgqM/uiKKOrUfWBkm5oPxZonFqD FMf+Nzddy4ZJYtjTCNrWVvOSPC96ZH6fFXom/NN+/nOlZ9KGt1IRx++3GNy1+cIlLO5e NeU8uihloZ8gRVgMJ+Pb/G9N+PxCuXdUMZOZg= MIME-Version: 1.0 In-Reply-To: References: <3ff2f4cc-7c26-4f59-9463-d6f0874174d8@dn9g2000vbb.googlegroups.com> Date: Tue, 14 Jun 2011 01:39:50 +1000 Subject: Re: What is the most efficient way to compare similar contents in two lists? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307979593 news.xs4all.nl 49046 [::ffff:82.94.164.166]:34918 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7524 On Tue, Jun 14, 2011 at 1:21 AM, Zachary Dziura wrote: > Wow! That was a lot easier than I thought it would be! I guess I > should have done a little bit more research into such operations. > Thanks a bunch!! :) Python: "Batteries Included". (Although Python 3 is "Most of the batteries you're used to, included".) ChrisA