DecryptPYT
Resumen
The DecryptPYT function decrypts an encrypted Python toolbox file.
Debate
An encrypted Python toolbox can also be decrypted by clicking the toolbox in ArcGIS Pro.
Sintaxis
DecryptPYT(toolbox, password)
| El parámetro | Explicación | Tipo de datos |
|---|---|---|
|
toolbox |
The encrypted Python toolbox that will be decrypted. |
String |
|
password |
The password used to unlock the encrypted Python toolbox. |
String |
Muestra de código
DecryptPYT example
Decrypt an encrypted Python toolbox.
import arcpy
toolbox = 'd:/tools/analysis.pyt'
password = '<your password>'
arcpy.DecryptPYT(toolbox, password)