arcgis python 获得arcgis安装版本和安装位置
2020-12-13 15:42
标签:ems code inf str python get and installer product 和获得ArcGIS版本和安装位置 SourceDir : G:\setup\arcgis10.2.2\arcgis10.2.2\ArcGIS_Desktop_1022_140090\Desktop\SetupFiles\ arcgis python 获得arcgis安装版本和安装位置 标签:ems code inf str python get and installer product 原文地址:https://www.cnblogs.com/gisoracle/p/11613791.htmlimport arcpy
print(arcpy.GetInstallInfo()[‘Version‘])
import arcpy
# Use the dictionary iteritems to iterate through
# the key/value pairs from GetInstallInfo
d = arcpy.GetInstallInfo()
for key, value in d.iteritems():
# Print a formatted string of the install key and its value
#
print("{:".format(key, value))
InstallDate : 2019.07.19
InstallDir : c:\program files (x86)\arcgis\desktop10.2\
ProductName : Desktop
BuildNumber : 3552
InstallType : N/A
Version : 10.2.2
SPNumber : N/A
Installer : dell
SPBuild : N/A
InstallTime : 17:43:58
文章标题:arcgis python 获得arcgis安装版本和安装位置
文章链接:http://soscw.com/essay/35348.html