In the second you can access the attributes of the exception object: >>> def catch(): ... try: ... asd() ... except Exception as e: ...
確定! 回上一頁