Iterate Feature Selection equivalent in Python

Discussion created by madaya on Nov 14, 2012
Latest reply on Nov 15, 2012 by madaya
I made a tool in Model Builder that uses "Iterate Feature Selection" and I'm trying to figure out if there is an equivalent I can use in Python.

Basically, the tool goes through each feature in my "Subdivision_Copy" feature class and groups by the field "Community" and exports each feature as a shapefile in a "Scratch_Shapefiles" folder.


I'm still learning Python and I'm not too sure how to go about doing this.

Thanks for any help!