Python : Delete Errors + reset to zero