except Exception: pass
Add Source Use pass to ignore an exception Within a try and except block, use pass in the except clause to indicate no action is required in handling the caught exception.