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:\setup\arcgis10.2.2\arcgis10.2.2\ArcGIS_Desktop_1022_140090\Desktop\SetupFiles\
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
Completed script 许可...
成功 在 Sat Nov 02 20:39:01 2019 (经历的时间: 0.05 秒)
分类:
python
· 记一次.NET MAUI项目中绑定Android库实现硬件控制的开发经历
· 糊涂啊!这个需求居然没想到用时间轮来解决
· 浅谈为什么我讨厌分布式事务
· 在 .NET 中使用内存映射文件构建高性能的进程间通信队列
· 一个 java 空指针异常的解决过程
· 干翻 Typora!MilkUp:完全免费的桌面端 Markdown 编辑器!
· 记一次.NET MAUI项目中绑定Android库实现硬件控制的开发经历
· 那些年我们一起追过的Java技术,现在真的别再追了!
· 从WebApi迁移到Minimal API?有了这个神器,小白也能10分钟搞定!
· 抛开官方库,手撸一个轻量级 MCP 服务端
2014-11-02 C# 枚举绑定到ComboBox
2010-11-02 Python常用文件操作参考
2010-11-02 ArcGIS Server服务发布篇
2010-11-02 ArcGIS Server安装篇
2010-11-02 ArcEngine 地图与布局的联动