AnsweredAssumed Answered

Defining a variable for field name in python

Question asked by dexconor on Jul 20, 2015
Latest reply on Jul 20, 2015 by dexconor

I have a code looks like this

rows = arcpy.UpdateCursor(featureClass) 
row =
#AddressFieldName = "ADD_FULL"
while row:
  s= row.ADD_FULL


I'd like to use the field name as variable but if I wan to try like:


s=row. + AddressFieldName


or such thing that I can think of won't work.


Is there any way that I can use it as variable?