結果 : how to catch an exception in python