Usage (arcpy)

Resumen

Returns the syntax for the specified tool or function.

Sintaxis

Usage (tool_name)
ParámetroExplicaciónTipo de datos
tool_name

The tool name to display the syntax.

String
Valor de retorno
Tipo de datosExplicación
String

Returns a string containing the specified tool's syntax.

Ejemplo de código

Usage example

Print specified tool's syntax.

import arcpy

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

Temas relacionados

9/11/2013