ListInstallations (arcpy)

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

for install in arcpy.ListInstallations():
    print(install)

Related Topics

3/3/2014