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


Groups > comp.lang.python > #85730

Re: [Tutor] sql-like join on two lists or dictionaries

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!border2.nntp.ams2.giganews.com!backlog4.nntp.ams3.giganews.com!backlog4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.020
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; '16,': 0.03; 'subject:: [': 0.04; 'broken': 0.04; 'method.': 0.07; 'subject:two': 0.07; 'spaces': 0.09; 'typed': 0.09; 'cc:addr:python-list': 0.11; 'wrote': 0.14; 'posted': 0.15; 'quoted': 0.16; 'subject:Tutor': 0.16; 'subject:dictionaries': 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'feb': 0.22; '>>>': 0.22; 'putting': 0.22; 'cc:addr:python.org': 0.22; 'subject:like': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; '15,': 0.26; 'post': 0.26; 'header:In-Reply- To:1': 0.27; 'originally': 0.30; 'subject:join': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'went': 0.31; 'comments': 0.31; 'lines': 0.31; '>>>>': 0.31; 'figure': 0.32; 'url:python': 0.33; 'something': 0.35; 'subject:lists': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; "didn't": 0.36; 'url:org': 0.36; 'wrong': 0.37; 'list.': 0.37; 'clear': 0.37; 'skip:& 10': 0.38; 'pm,': 0.38; 'sure': 0.39; 'url:mail': 0.40; 'dave': 0.60; 'most': 0.60; 'field.': 0.61; 'new': 0.61; "you're": 0.61; 'first': 0.61; 'field': 0.63; 'here': 0.66; 'reply': 0.66; 'press': 0.70; 'programs,': 0.74; '2015': 0.84; 'otten': 0.84; 'remarks': 0.84; 'angel': 0.91; 'joel': 0.91; 'response,': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yCxblW6FgtBidbJ70gLhZ8OQc7ZZWAWgfHyvWZGrhWs=; b=Vlx2OrryeHDEGecvJL76ygquzLqTDkOcb8vY9sjlZXzi1YCAVcsDxMbczHMlRYxF1E jQ9inoMPiIx4iQ+NWZG3kICyOe9pcUb4ufNP277usaMEw1uvyNc0ehXzOduB03BR677t iytecOA71Zm0e3PZvX8oA8B0y+7t0HrJzNYWiMFGMQAiXzewhSMOeccuqnRMDtkQ3vVX 7goTz7g5WE2Ha5iz5+0pJuMvbz40IzdjMnBsrxkV+z6Ydz8icK0D0MZvxHovFJXw2JXM gkjNpTvoQb3BJFZurPPxwq2sE/edUAdZNAZhNP0fJDeeCd3MhQmcCv2fKTj3aUJoReqF Ee6w==
MIME-Version 1.0
X-Received by 10.50.43.138 with SMTP id w10mr25404771igl.19.1424144160244; Mon, 16 Feb 2015 19:36:00 -0800 (PST)
In-Reply-To <54E2B0CF.4030400@davea.name>
References <1423877077.197303.227364393.5C66E157@webmail.messagingengine.com> <mbn61p$227$1@ger.gmane.org> <mbnh3l$3ta$1@ger.gmane.org> <CAPM-O+y7HMcHYcBFG767CP40q6nJRa5iFCc0VGmKMd7LpgvB=A@mail.gmail.com> <mbqr64$856$1@ger.gmane.org> <CAPM-O+yV6q58AK8jcsMTr-RKChGpcgoDz1aFCMSmBmjR6oPGjw@mail.gmail.com> <54E2B0CF.4030400@davea.name>
Date Mon, 16 Feb 2015 22:36:00 -0500
Subject Re: [Tutor] sql-like join on two lists or dictionaries
From Joel Goldstick <joel.goldstick@gmail.com>
To Dave Angel <davea@davea.name>
Content-Type multipart/alternative; boundary=089e01176c7fc7c8ad050f4066e5
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18778.1424144162.18130.python-list@python.org> (permalink)
Lines 115
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424144162 news.xs4all.nl 2836 [2001:888:2000:d::a6]:34049
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 7989
X-Received-Body-CRC 3363038498
X-Original-Bytes 8083
Xref csiph.com comp.lang.python:85730

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Feb 16, 2015 at 10:09 PM, Dave Angel <davea@davea.name> wrote:

> On 02/16/2015 09:26 PM, Joel Goldstick wrote:
>
>> On Sun, Feb 15, 2015 at 2:14 PM, Peter Otten <__peter__@web.de> wrote:
>>
>>  Joel Goldstick wrote:
>>>
>>>  You can dispense with the slicing if you use the str.split() method.  It
>>>> will put each item in a list.
>>>>
>>>
>>> Only if there are no whitespace chars in the field.
>>>
>>> OT:
>>>
>>> Joel, your comments are already quoted when you first post them.
>>> Something
>>> is broken in your workflow.
>>>
>>> not sure about quoting.. but the op didn't seem to have spaces in each
>>> field
>>>
>>
>
> Someone reading your message would figure you had typed nothing, since
> none of the lines start at the left margin.  You're putting your new
> remarks after the ">" symbols, so they look like they're quoted from Peter.
>
> In most email programs, you just need to press <enter> once or twice to
> get an unindented line.  Then type your response, so it's clear who wrote
> it.
>
> Worse, your message here is a reply to one originally posted in the tutor
> forum.
>
> --
> DaveA
> --
> https://mail.python.org/mailman/listinfo/python-list
>

sorry all and DaveA.. not sure what went wrong

-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

Re: [Tutor] sql-like join on two lists or dictionaries Joel Goldstick <joel.goldstick@gmail.com> - 2015-02-16 22:36 -0500

csiph-web