Trying to dynamically get a list of tools and labels from a Python toolbox to drop into value table that makes it easy to call said tools.
The closest I can come is this, but I don't see how I can "get at" the labels. ArcMap certainly can do this, why can't I?
<SPAN class="operator token">>></SPAN><SPAN class="operator token">></SPAN> arcpy<SPAN class="punctuation token">.</SPAN>ImportToolbox<SPAN class="punctuation token">(</SPAN>r<SPAN class="string token">"D:\Users\cprice\tools\arcgis\PAPeakFlow\scripts\PolygonInfo.pyt"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="operator token"><</SPAN>module <SPAN class="string token">'pinf'</SPAN> <SPAN class="punctuation token">(</SPAN>built<SPAN class="operator token">-</SPAN><SPAN class="keyword token">in</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="operator token">></SPAN>
<SPAN class="operator token">>></SPAN><SPAN class="operator token">></SPAN> dir<SPAN class="punctuation token">(</SPAN>arcpy<SPAN class="punctuation token">.</SPAN>pinf<SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">[</SPAN><SPAN class="string token">'AddFieldAndValue'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'CalcValuesToTable'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'IntersectArea'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN>
<SPAN class="string token">'__alias__'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'__all__'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'__builtins__'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'__doc__'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'__name__'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>