ListToolboxes (arcpy)
Récapitulatif
Lists the geoprocessing toolboxes, limited by name.
Syntaxe
ListToolboxes ({wild_card})
Paramètre | Explication | Type de données |
wild_card |
The wild_card limits the results returned. If no wild_card is specified, all values are returned. | String |
Type de données | Explication |
String |
The list returned from the function containing geoprocessing toolbox names, limited by the optional wild card. |
Exemple de code
ListToolboxes example
Lists specified toolboxes.
import arcpy
# Get and print a list of all toolboxes.
toolboxes = arcpy.ListToolboxes()
for toolbox in toolboxes:
print(toolbox)
Thèmes connexes
4/26/2014