Usage (arcpy)

Récapitulatif

Returns the syntax for the specified tool or function.

Syntaxe

Usage (tool_name)
ParamètreExplicationType de données
tool_name

The tool name to display the syntax.

String
Valeur renvoyée
Type de donnéesExplication
String

Returns a string containing the specified tool's syntax.

Exemple de code

Usage example

Print specified tool's syntax.

import arcpy

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

Thèmes connexes

9/12/2013