quick example for accessing catch from python