Try Catch Error E But Python Code