摘要: 异常捕获补充 # 异常捕获的完整形式 try: name except NameError as e: pass except Exception as e: pass else: pass finally: pass # try中出现异常,如果except中有对应的异常,执行其中的代码。如果没有异 阅读全文
posted @ 2021-11-22 18:48 它叫鸮 阅读(49) 评论(0) 推荐(0)