Python: exception handling, Lecture