ListInstallations (arcpy)

摘要

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

相关主题

9/15/2013