AnsweredAssumed Answered

Creating new shapefile based on its attributes with python

Question asked by sxt128130 on Dec 8, 2012
Latest reply on Dec 9, 2012 by Wayne_Whitley
I have a shapefile which has an attribute year. I used to generally copy and paste these features in the dataframe and then using the definition query just show polygons which were established before that year.

I want to know how can I do it using python. Like if I can give the input feature class, add all the years I want the different shapefiles for and the workspace where it can create shapefile for the mentioned years with the right naming convention.

Thank You.