GenerateSpecialFeatures.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:SSURGO-QA 作者: ncss-tech 项目源码 文件源码
def errorMsg():

    try:

        tb = sys.exc_info()[2]
        tbinfo = traceback.format_tb(tb)[0]
        theMsg = tbinfo + " \n" + str(sys.exc_type)+ ": " + str(sys.exc_value) + " \n"
        arcMsg = "ArcPy ERRORS:\n" + arcpy.GetMessages(2) + "\n"
        PrintMsg(theMsg, 2)
        PrintMsg(arcMsg, 2)

    except:

        PrintMsg("Unhandled error in errorMsg method", 2)

#======================================================================================================================================
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号