Lesson 25: Handling Python Errors Without Crashing
A programme asks for a number, but someone enters unexpected text: must the whole programme stop? The answer depends on when Python discovers the problem and what kind of problem it is. This section distinguishes syntax errors, runtime exceptions and bugs, so it becomes clear what exception handling can—and cannot—solve.
