Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7524

Re: What is the most efficient way to compare similar contents in two lists?

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 <rosuav@gmail.com>
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 <bad3a56e-efba-4ef4-a159-64273cda5a08@gh5g2000vbb.googlegroups.com>
References <3ff2f4cc-7c26-4f59-9463-d6f0874174d8@dn9g2000vbb.googlegroups.com> <mailman.169.1307977750.11593.python-list@python.org> <bad3a56e-efba-4ef4-a159-64273cda5a08@gh5g2000vbb.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 <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.176.1307979593.11593.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Tue, Jun 14, 2011 at 1:21 AM, Zachary Dziura <zcdziura@gmail.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What is the most efficient way to compare similar contents in two lists? Zachary Dziura <zcdziura@gmail.com> - 2011-06-13 07:58 -0700
  Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 01:09 +1000
    Re: What is the most efficient way to compare similar contents in two lists? Zachary Dziura <zcdziura@gmail.com> - 2011-06-13 08:21 -0700
      Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 01:39 +1000
        Re: What is the most efficient way to compare similar contents in two lists? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-13 16:04 +0000
          Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 02:30 +1000
          Re: What is the most efficient way to compare similar contents in two lists? geremy condra <debatem1@gmail.com> - 2011-06-13 10:46 -0700
          Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 03:50 +1000
          Re: What is the most efficient way to compare similar contents in two lists? geremy condra <debatem1@gmail.com> - 2011-06-13 11:20 -0700
          Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 04:24 +1000
          Re: What is the most efficient way to compare similar contents in two lists? Ethan Furman <ethan@stoneleaf.us> - 2011-06-13 12:11 -0700
            Re: What is the most efficient way to compare similar contents in two lists? Zachary Dziura <zcdziura@gmail.com> - 2011-06-13 12:21 -0700
          Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 07:33 +1000
  Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 04:11 +1000
    Re: What is the most efficient way to compare similar contents in two        lists? Chris Torek <nospam@torek.net> - 2011-06-13 18:40 +0000
  Re: What is the most efficient way to compare similar contents in two lists? Chris Angelico <rosuav@gmail.com> - 2011-06-14 04:12 +1000

csiph-web