Usage

摘要

Returns the syntax for the specified tool or function.

语法

Usage (tool_name)
参数说明数据类型
tool_name

The tool name to display the syntax.

String
返回值
数据类型说明
String

Returns a string containing the specified tool's syntax.

代码示例

Usage example

Print specified tool's syntax.

import arcpy

print arcpy.Usage("Buffer_analysis")
print arcpy.Usage("MakeFeatureLayer_management")

相关主题


7/10/2012