How to determine if an exception was raised once you're in the finally block?
How to determine if an exception was raised once you're in the finally block? Question: Is it possible to tell if there was an exception once you’re in the finally clause? Something like: try: funky code finally: if ???: print(‘the funky code raised’) I’m looking to make something like this more DRY: try: funky code …