AnsweredAssumed Answered

how to remove the owner from the name of FC

Question asked by jsn on Oct 11, 2017
Latest reply on Oct 11, 2017 by jamesfreddyc

Hello everyone,


When getting the name of a FC, because the FC is in SDE I get the name of the FC with the owner. For example SDE.Projects  and what I need is only the name "Projects".


How can I remove the prefix owner. in python.


This is the source code I am using:



listFC = arcpy.ListFeatureClasses()
for fc in listFC:
      desc = arcpy.Describe(fc)
      fname = desc.Name