ListToolboxes
Résumé
The ListToolboxes function returns a list of geoprocessing toolboxes.
Syntaxe
ListToolboxes({wild_card})
| Le 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. Use an asterisk (*) to represent zero or more characters. For example, |
String |
Valeur de retour
| Type de données | Explication |
|---|---|
|
String |
The list returned from the function containing geoprocessing toolbox names, optionally limited by the |
Exemple de code
ListToolboxes example
List specified toolboxes.
import arcpy
# Get and print a list of all toolboxes.
toolboxes = arcpy.ListToolboxes()
for toolbox in toolboxes:
print(toolbox)