I'm trying to only return information on a selected feature in a shapefile. According to other answers online, searchcursors should only act on selected features, but for whatever reason it's providing me with all the features in the shapefile.
Here's a basic example of what I'm working with:
for row in arcpy.SearchCursor(shapefile): print row.TEXT
This code prints the output from the "TEXT" field for all features, not only the one I have selected.