Usage (arcpy)
サマリ
Returns the syntax for the specified tool or function.
説明
Complete help information for a tool, including complete parameter descriptions, can be extracted by using the __doc__ property.
import arcpy
print(arcpy.Buffer_analysis.__doc__)
構文
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"))
関連トピック
4/26/2014