AnsweredAssumed Answered

for loop arcpy

Question asked by jayasudha123 on Apr 4, 2016
Latest reply on Apr 4, 2016 by jayasudha123

Hi,

 

Please explain the following line from ArcGIS documentation for python. It looks different from regular for loop which ends with colon. 

 

values = [row[0] for row in arcpy.da.SearchCursor(fc, (field))]

Outcomes