ListInstallations (arcpy)
Récapitulatif
La fonction ListInstallations renvoie une liste Python des types d'installation (Server, Desktop et Engine).
Syntaxe
ListInstallations ()
Type de données | Explication |
String |
Liste Python contenant les noms d'installation renvoyés par la fonction. |
Exemple de code
Exemple d'utilisation de ListInstallations
Renvoie une liste des types d'installation sur l'ordinateur.
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
Thèmes connexes
9/12/2013