标签:erro span ror print 异常 python class err 分支
except 多分支
try: a =1 # raise Exception except ValueError as e: print(e) except Exception as e: print(e) else: print("try正常就执行我") finally: print("无论成功与否都执行我")
标签:erro span ror print 异常 python class err 分支
原文地址:https://www.cnblogs.com/zhouguanglu/p/10274624.html