Résumé
Returns a list of toolboxes.
Syntaxe
ListToolboxes ({wild_card})
Paramètre | Explication | Type de données | ||||||
wild_card | Limits the results returned. If a value is not specified, all values are returned. The wildcard is not case sensitive.
| String |
Type de données | Explication |
String | The list returned from the function containing geoprocessing toolbox names, limited by the optional wild_card argument. |
Exemple de code
List specified toolboxes.
import arcpy
# Get and print a list of all toolboxes.
toolboxes = arcpy.ListToolboxes()
for toolbox in toolboxes:
print(toolbox)
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?