zoukankan      html  css  js  c++  java
  • arcgis python 获得arcgis的版本和安装路径

    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("{:<13} : {}".format(key, value))


    install:desktop
    SourceDir : G:setuparcgis10.2.2arcgis10.2.2ArcGIS_Desktop_1022_140090DesktopSetupFiles
    InstallDate : 2019.07.19
    InstallDir : c:program files (x86)arcgisdesktop10.2
    ProductName : Desktop
    BuildNumber : 3552
    InstallType : N/A
    Version : 10.2.2
    SPNumber : N/A
    Installer : dell
    SPBuild : N/A
    InstallTime : 17:43:58
    Completed script 许可...
    成功 在 Sat Nov 02 20:39:01 2019 (经历的时间: 0.05 秒)

  • 相关阅读:
    Java类加载机制
    DAY18
    DAY17
    DAY16
    DAY15
    DAY14
    DAY13
    DAY12
    DAY11
    DAY10
  • 原文地址:https://www.cnblogs.com/gisoracle/p/11783971.html
Copyright © 2011-2022 走看看