Hello all. Im a novice when it comes to python. Im trying to use a search cursor to retrieve the specific value "drillhole" in the "Label" field of the attribute table for each feature class in a large directory. Here is my code:import arcpy
arcpy.env.workspace = "X:"
ws = arcpy.ListWorkspaces("*","Folder")
for w in ws:
arcpy.env.workspace = w
gdb = arcpy.ListWorkspaces("*", "Access")
for fc in gdb:
arcpy.env.workspace = fc
fcl = arcpy.ListDatasets("*", "Feature")
for fcc in fcl:
arcpy.env.workspace = fcc
fccl = arcpy.ListFeatureClasses("*", "All")
print fccl
Is there a way to use the search cursor on the list "fccl" in order to loop through all of these feature datasets and return the value "drillhole"? Thanks for any help.