Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Field Indexing, arcpy.SearchCursor

$
0
0
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?

Code:

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


Viewing all articles
Browse latest Browse all 2485

Trending Articles