Try Catch Python Exception