Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12966
| Date | 2011-09-08 16:06 +0100 |
|---|---|
| From | MRAB <python@mrabarnett.plus.com> |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.877.1315494376.27778.python-list@python.org> (permalink) |
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