ListInstallations

サマリ

The ListInstallations function returns a Python List of the installation types (server, desktop, and engine).

構文

ListInstallations ()
リターン
データ タイプ説明
String

The Python List containing installation names returned from the function.

コードのサンプル

ListInstallations example

Return a list of installation types on the computer.

import arcpy

# Get a list of installation types on the computer and
#   print to the Interactive Window
#
installList = arcpy.ListInstallations()
for install in installList:
    print install

関連項目


7/10/2012