ListToolboxes (arcpy)

摘要

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

语法

ListToolboxes ({wild_card})
参数说明数据类型
wild_card

通配符可限制返回的结果。如果未指定任何通配符,则会返回所有值。

String
返回值
数据类型说明
String

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

代码实例

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

相关主题

9/15/2013