arcpy加载mxd文件时,无效的MXD路径,提示assert (os.path.isfile(mxd) or (mxd.lower() == "current")), gp.getIDMessage(89004, "Invalid MXD filename")

无效的MXD路径,将路径前加‘u’,改为这种:

mxdPath = u"C:\\1331\\DB\\Original Files\\dd.mxd"

参考:

https://gis.stackexchange.com/questions/229353/batch-mxd-processing-returns-assertionerror-invalid-mxd-filename?answertab=active#tab-top

上一篇:Zabbix自带模板监控MySQL


下一篇:高性能文件缓存key-value存储—Redis