ListToolboxes (arcpy)

Summary

Lists the geoprocessing toolboxes, limited by name.

Syntax

ListToolboxes ({wild_card})
ParameterExplanationData Type
wild_card

The wild card limits the results returned. If no wild card is specified, all values are returned.

String
Return Value
Data TypeExplanation
String

The list returned from the function containing geoprocessing toolbox names, limited by the optional wild card.

Code Sample

ListToolboxes example

Lists specified toolboxes.

import arcpy

# Get and print a list of all toolboxes.
toolboxes = arcpy.ListToolboxes()

for toolbox in toolboxes:
    print(toolbox)

Related Topics

6/21/2013