Synthèse
Decrypt an encrypted Python toolbox file.
Discussion
An encrypted Python toolbox can also be decrypted by clicking on the toolbox within ArcGIS Pro.
Syntaxe
DecryptPYT (toolbox, password)
Paramètre | Explication | Type de données |
toolbox | The encrypted Python toolbox that will be unencrypted. | String |
password | The password used to unlock the encrypted Python toolbox. | String |
Exemple de code
Decrypt an encrypted Python toolbox.
import arcpy
toolbox = 'd:/tools/analysis.pyt'
password = '<your password>'
arcpy.DecryptPYT(toolbox, password)
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?