BrokenLegMike

Field Indexing, arcpy.SearchCursor

Discussion created by BrokenLegMike on Aug 28, 2013
Latest reply on Aug 28, 2013 by daveb1034
Does the arcpy.SearchCursor function support field indexing? In the sample script below, can I sent my cursor to loop through the values in the first field by setting an index to search the first field?

for x in arcpy.SearchCursor(filepath):
    print x[0]

Outcomes