Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have code that says:
fld = fieldName
rows = arcpy.SearchCursor(fc)
for row in rows:
x = row.fld
How do I use a variable for my field name in Python ArcGIS 10 on Windows?
See Accessing data using cursors in the help.
Required, but never shown