摘要: try: try: a=1/0 except ZeroDivisionError as e: raise Exception("error") except Exception as e: print("da:%s" % e) try了以后默认不向外传递(否则我try干嘛) 如果要继续传递的话,使用 阅读全文
posted @ 2021-12-14 11:40 gtea 阅读(40) 评论(0) 推荐(0) 编辑