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 <SPAN class="operator token">=</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>CreateFeatureclass_management<SPAN class="punctuation token">(</SPAN><SPAN class="string token">"in_memory"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"facFC"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"POINT"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
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.
Thanks!