ListInstallations

Resumen

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

Sintaxis

ListInstallations ()
Valor de retorno
Tipo de datosExplicación
String

The Python List containing installation names returned from the function.

Ejemplo de código

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

Temas relacionados


7/10/2012