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?
fieldcount = len(arcpy.Describe(featureClass).fields)
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
10 months ago
Get the weekly newsletter!
see an example newsletter