how to profile exception handling in python?,"print(('Total handled exceptions: ', NUMBER_OF_EXCEPTIONS))"