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')