ListToolboxes

Récapitulatif

Lists the geoprocessing toolboxes, limited by name. A Python List is returned from the function.

Syntaxe

ListToolboxes ({wild_card})
ParamètreExplicationType de données
wild_card

Un caractère générique limite les résultats renvoyés. Si aucun caractère générique n'est spécifié, toutes les valeurs sont renvoyées.

String
Valeur renvoyée
Type de donnéesExplication
String

The Python 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 a list of all toolboxes. Print to the interactive window.
# 
toolboxList = arcpy.ListToolboxes()
for toolbox in toolboxList:
    print toolbox

Rubriques connexes


7/10/2012