python学习笔记——python扑捉所有的异常方法 当分不清代码会哪种错误时,可以用: try: ······ except Exception as e: ....... 结构来扑捉所有的异常。 如: