How would you wildcard the field_names for a SearchCursor so that it only searched through rows for columns in a table that begin with the word "Layer"? For example:
FCList =  FCS = [u'Building', u'Bridges', u'RecreationArea'] LCC = "G:\\CL.gdb\\Layer_CatCode" with arcpy.da.SearchCursor(LCC, ['Layer*']) as cursor: for row in cursor: if row in FCS and row not in FCList: FCList.append(row)
I have tried to construct a sql statement for the field_names with no success, and I have even tried the asterisk option for field_names so that is just searches all columns but the FCList comes out empty. However, this may be due to the fact that when using the asterisk option I'm not sure what to put in the brackets for row["*"].