try : # code that might raise an exception except Exception as e: # code to handle the exception print(e) # e is the exception instance.
確定! 回上一頁