I've been looking at the ArcGIS resources for python but I can't seem to figure this one out.
I'm looking for a method to gain access to the number of fields that are within a shapefile / feature class. Is this information available via Python?
1 Answer 1
Use arcpy.Describe
.
fieldcount = len(arcpy.Describe(featureClass).fields)
answered Dec 5, 2013 at 19:57
Explore related questions
See similar questions with these tags.
lang-py