摘要: 异常 概述 异常会导致程序无法正常运行。提前预知异常,并对异常设置相应的操作能够完善代码。 处理异常 try: pass except ValueError as e: pass except Exception as e: print(e.args) pass 一、Python内置异常类 Base 阅读全文
posted @ 2019-12-13 11:55 石斛 阅读(458) 评论(0) 推荐(0) 编辑