for fc in arcpy.ListFeatureClasses ("*", "Point"): outmean= **** arcpy.MeanCenter_stats ('fc', 'outmean')for raster in arcpy.ListRasters: outpoint = os.path.join (raster, "out") arcpy.ExtractbyAttributes (raster, " VALUE = ", outpoint)
Solved! Go to Solution.
outmean = fc[:22]
outmean = fc[:22] + "newending"
outmean = fc[:22]
outmean = fc[:22] + "newending"
for fc in arcpy.ListFeatureClasses ("*", "Point"):
outmean= ****
arcpy.MeanCenter_stats ('fc', 'outmean')
index = 1
for fc in arcpy.ListFeatureClasses ("*", "Point"):
outmean= fc[:22] + '_' + index
arcpy.MeanCenter_stats (fc, outmean) # ok, I don't know what exactly is going on here, but hopefully that works...
index += 1 # increment the index