python raise exception with a message code example Example: exception pyton print except Exception as e: print(e)