how to check for errors in python code example Example: exception pyton print except Exception as e: print(e)