Resumen
Decrypt an encrypted Python toolbox file.
Sintaxis
DecryptPYT (toolbox, password)
Parámetro | Explicación | Tipo de datos |
toolbox | The encrypted Python toolbox that will be unencrypted. | String |
password | The password used to unlock the encrypted Python toolbox. | String |
Muestra de código
Decrypt an encrypted Python toolbox.
import arcpy
toolbox = 'd:/tools/analysis.pyt'
password = '<your password>'
arcpy.DecryptPYT(toolbox, password)