Running in 10.0. Was trying to reset a search cursor in some code, and it didn't work. Tried this little snippet, and it didn't work either.cur = arcpy.SearchCursor("c1") row = cur.next() while row: print row.getValue("FID") row = cur.next() cur.reset() row = cur.next() print row.getValue("FID")
The last print statement returns an error, saying the row is NoneType object. I was expecting the cursor to reset and respond to next. What did I do wrong?