Python newbie needing help with a simple task. I'm trying to create a list of stand-alone tables in an sde workspace.
Code below works just fine to list feature class names and paths and table names.
fcList = gp.ListFeatureClasses() for fc in fcList: descFC = gp.Describe(fc) print "FC Name: " + fc + ", Path: " + descFC.CatalogPath tblList = gp.ListTables() for table in tblList: print table
However, I am not able to use the Describe method to grab the tables' catalog path.
tblList = gp.ListTables() for table in tblList: print table descTBL = gp.Describe(table) print descTBL.CatalogPath
I think my issue is in the gp.Describe line. What's wrong with gp.Describe(table)? From looking at code samples fc = feature class and fd = feature dataset. What abbreviation is used for table?