how to iterate a function as:
rows=gp.SearchCursor(featureclass)
row=rows.Next()
while row:
gp.select_analysis(row,output)
row=rows.Next()
so that I would be able to select a feature record from row1 to row n in a featurecalss seperately. But clearly, "select_analysis" doesn't accept "row" as a leagal input... SO any alternatives?
I was thinking of SQL in {where clause}, but how to write the SQL codes (it seems SQL dosen't allow an iterating variable either, like {where i=range(1,100), "OBJECTID=i"} ?)
thanks indeed!!