import arcpy feature_class = "c:/data/well.shp" # Create a list of indexes using the ListIndexes function indexes = arcpy.ListIndexes(feature_class) # Iterate through the list of indexes for index in indexes: # Print index properties print("Name: {0}".format(index.name)) print(" Type : {0}".format(index.isAscending)) print(" Scale : {0}".format(index.isUnique)) print(" Number of fields: {0}".format(len(index.fields)))