Hi,
Can someone please shed some light on why my glob.glob statement is not working?
It works on shapefiles just not feature classes in geodatabases.
I am simply just trying to put in a file path to a feature class in the geodatabase. The file path however needs to include a wild card (*) as the date/name of the folder can change each month.
I have tried the below statement but i get the error below
TC = glob.glob("L:/Support/Data_load/Tenements/%s/SA/Kennels/Popcorns*/Popcorn.gdb/Popcorn123" % (d))[0]
IndexError: list index out of range
Does glob.glob not support geodatabase? and if so is there another solution?