AnsweredAssumed Answered

SearchCursor won't reset?

Question asked by rmartin4 on Aug 13, 2012
Latest reply on Mar 3, 2016 by pcole1
I am trying to get my feet wet with Python but something has me stumped. I made a test feature class with just one object and used that to instantiate a cursor. I looped over the FC and told it to print some text each time, which it did. I then reset the cursor and tried doing the same thing again but nothing prints. This is how my code looks:

>>> rows = arcpy.SearchCursor("pyLateralLine") >>> for row in rows: ...     print "something"

Can anyone think of what I'm doing wrong here? Thanks!