features = arcpy.ListFeatureClasses()
for fc in features:
arcpy.Analyze_management(fc, "BUSINESS")
now = datetime.datetime.now()
analyzeLog.write(fc + " Analyzed at: " + now.strftime("%H:%M:%S") + '\n')list = []
lstFCs = arcpy.ListFeatureClasses()
for fc in lstFCs:
list.append(fc)
for n in list:
if "vw" not in n:
arcpy.Analyze_management(n, "BUSINESS")
now = datetime.datetime.now()
analyzeLog.write(n + " Analyzed at: " + now.strftime("%H:%M:%S") + '\n')
I am wondering how to exclude a feature type. I know I can specify a feature type by setting feature_type parameter, but how can I exclude a feature type? I tried using != and it didn't work.