Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99313
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Returning a result from 3 items in a list |
| Date | Tue, 24 Nov 2015 22:05:04 +1100 |
| Lines | 11 |
| Message-ID | <mailman.102.1448363112.2291.python-list@python.org> (permalink) |
| References | <133829df-f57f-442f-9dbf-b22b22f656ae@googlegroups.com> <mailman.98.1448360068.2291.python-list@python.org> <45b60b80-d6b7-423e-93b9-2ef4977fb368@googlegroups.com> <n31egv$eme$2@ger.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de 2cQIcekmdEnCO+GLoEAOkQnssjFl3zrs3Wc5RCejHlyw== |
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.023 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'received:209.85.223': 0.03; 'cc:addr:python-list': 0.09; 'yeah,': 0.09; '24,': 0.16; 'defined;': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'header:In-Reply-To:1': 0.24; 'subject:list': 0.26; 'error': 0.27; 'message-id:@mail.gmail.com': 0.27; 'figured': 0.29; 'tue,': 0.34; 'received:google.com': 0.35; 'nov': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:209': 0.38; 'mean': 0.38; 'subject:from': 0.39; "'result'": 0.84; 'chrisa': 0.84; 'heh.': 0.84; 'otten': 0.84; 'to:none': 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:cc :content-type; bh=CjZ3AY0g3eXEVeCS80kj9GocPbZinqR92g5+O/8ur00=; b=u/0FReya8L/EMpDgS+187RbXASIQo0Xjh/PM5NUouKQI9otRbQ46z5MqREKid/Cn+R kcw9s129qre3DrYt8/vkKziQztgSf1SyqiFnCjuNR5fQQ/cfmn3HCrRSjbgeG40qIyyo 89LJx1mR4nSqi66Ry7rVtd3W3WdIBRAJ6OFps6Mdoe8PvMFlv/kN9SIS1G+hl8QtrXQF 82/0sdooDlUShHA3bcJscfXuUPaIAVrvEggf3Fyfwa90SiWbv94/im+k1PGwyM8K38zn ZdlbMI70T83r65JLLorAMU3P5px/ZP1o/W0ImJ+lNxJquRxSdxpvlVj22EFEsbGDtJ72 Z2WA== |
| X-Received | by 10.107.10.233 with SMTP id 102mr28994788iok.31.1448363104316; Tue, 24 Nov 2015 03:05:04 -0800 (PST) |
| In-Reply-To | <n31egv$eme$2@ger.gmane.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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> |
| Xref | csiph.com comp.lang.python:99313 |
Show key headers only | View raw
On Tue, Nov 24, 2015 at 9:35 PM, Peter Otten <__peter__@web.de> wrote: > Yeah, the error message really should be > > "NameError: name 'result' is not defined; did you mean 'results'?" > > ;) Heh. Yes, that was my fault. Sorry Cai! it should have been results["jordan"], as you figured out. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Returning a result from 3 items in a list Cai Gengyang <gengyangcai@gmail.com> - 2015-11-24 02:04 -0800
Re: Returning a result from 3 items in a list Chris Angelico <rosuav@gmail.com> - 2015-11-24 21:14 +1100
Re: Returning a result from 3 items in a list Cai Gengyang <gengyangcai@gmail.com> - 2015-11-24 02:27 -0800
Re: Returning a result from 3 items in a list Peter Otten <__peter__@web.de> - 2015-11-24 11:35 +0100
Re: Returning a result from 3 items in a list Cai Gengyang <gengyangcai@gmail.com> - 2015-11-24 02:47 -0800
Re: Returning a result from 3 items in a list Chris Angelico <rosuav@gmail.com> - 2015-11-24 22:05 +1100
Re: Returning a result from 3 items in a list Cai Gengyang <gengyangcai@gmail.com> - 2015-11-24 03:06 -0800
Re: Returning a result from 3 items in a list Peter Otten <__peter__@web.de> - 2015-11-24 11:32 +0100
Re: Returning a result from 3 items in a list Denis McMahon <denismfmcmahon@gmail.com> - 2015-11-24 14:07 +0000
Re: Returning a result from 3 items in a list Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-11-24 14:28 +0000
Re: Returning a result from 3 items in a list Ned Batchelder <ned@nedbatchelder.com> - 2015-11-24 08:59 -0800
Re: Returning a result from 3 items in a list Cai Gengyang <gengyangcai@gmail.com> - 2015-11-25 02:26 -0800
Re: Returning a result from 3 items in a list Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-11-25 11:22 +0000
csiph-web