ListToolboxes

Summary

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

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

Related Topics


10/28/2011