ListInstallations

Summary

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

Syntax

ListInstallations ()
Return Value
Data TypeExplanation
String

The Python List containing installation names returned from the function.

Code Sample

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

Related Topics


10/28/2011