catch and determine exception python3 code example Example: exception pyton print except Exception as e: print(e)