Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12966
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.056 |
| X-Spam-Evidence | '*H*': 0.89; '*S*': 0.00; 'assign': 0.04; 'from:addr:python': 0.09; 'mentions': 0.09; 'subject:setting': 0.09; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'reply-to:addr:python-list': 0.16; 'syntax': 0.16; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.22; 'tried': 0.26; 'function': 0.27; 'received:84': 0.28; 'cant': 0.30; 'url:-': 0.30; 'value)': 0.30; 'error': 0.32; "can't": 0.33; 'to:addr:python-list': 0.33; 'header :User-Agent:1': 0.34; 'reply-to:addr:python.org': 0.34; 'subject:work': 0.34; 'subject:: ': 0.39; 'url:en': 0.39; 'subject:with': 0.39; 'to:addr:python.org': 0.39; 'url:index': 0.61; 'url:10': 0.64; 'show': 0.67; 'url:0': 0.69; 'header:Reply- To:1': 0.71; 'reply-to:no real name:2**0': 0.71; 'url:help': 0.72; 'subject:make': 0.73; 'and:': 0.84; 'call!': 0.84; 'subject:value': 0.84; '14.': 0.91 |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | AlYHALjZaE7Unw4S/2dsb2JhbABDmTGOT3iBRgEBBThAEQsIEAkWDwkDAgECAQ0qDhMIAQGHcwK4EIZtBIt1SYwHhGuHGg |
| Date | Thu, 08 Sep 2011 16:06:11 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: how to make fxn argument work with setting a field value |
| References | <7732a253-c834-4578-93eb-930346247e57@b20g2000vbz.googlegroups.com> <mailman.861.1315447873.27778.python-list@python.org> <c95f57a0-1c55-45ea-9123-cb252e8657ae@i21g2000yqd.googlegroups.com> |
| In-Reply-To | <c95f57a0-1c55-45ea-9123-cb252e8657ae@i21g2000yqd.googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | python-list@python.org |
| 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.877.1315494376.27778.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1315494376 news.xs4all.nl 2531 [2001:888:2000:d::a6]:54357 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:12966 |
Show key headers only | View raw
On 08/09/2011 08:59, noydb wrote:
>> The documentation mentions "getValue" and "setValue":
>>
>> http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00...- Hide quoted text -
>>
>> - Show quoted text -
>
> I have tried row.setValue(rankFld) = i for line 14. Get syntax error
> - cant assign to function call
Of course you can't assign to a function call!
It's:
row.setValue(rankFld, value)
and:
value = row.getValue(rankFld)
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
how to make fxn argument work with setting a field value noydb <jenn.duerr@gmail.com> - 2011-09-07 18:32 -0700
Re: how to make fxn argument work with setting a field value MRAB <python@mrabarnett.plus.com> - 2011-09-08 03:11 +0100
Re: how to make fxn argument work with setting a field value noydb <jenn.duerr@gmail.com> - 2011-09-08 00:59 -0700
Re: how to make fxn argument work with setting a field value MRAB <python@mrabarnett.plus.com> - 2011-09-08 16:06 +0100
csiph-web