AnsweredAssumed Answered

CreateFeatureClass_management (simple question)

Question asked by jamesfreddyc on Oct 10, 2018
Latest reply on Oct 11, 2018 by xander_bakker

I was asked about a seemingly simple line of code in one of my scripts and I didn't have an immediate answer.  After a few pages of g-search, I'm still a bit stumped, but not afraid to ask for the answer!


facFC = arcpy.CreateFeatureclass_management("in_memory", "facFC", "POINT")[0]


What exactly is the [0] at the end of this statement for?


There's examples of having it there and other examples it's not found.