Skip To Content

DecryptPYT

概要

Decrypt an encrypted Python toolbox file.

構文

DecryptPYT (toolbox, password)
パラメーター説明データ タイプ
toolbox

The encrypted Python toolbox that will be unencrypted.

String
password

The password used to unlock the encrypted Python toolbox.

String

コードのサンプル

DecryptPYT example

Decrypt an encrypted Python toolbox.

import arcpy

toolbox = 'd:/tools/analysis.pyt'
password = '<your password>'

arcpy.DecryptPYT(toolbox, password)

関連トピック