1try:
2 ...
3except FirstException:
4 handle_first_one()
5
6except SecondException:
7 handle_second_one()
8
9except (ThirdException, FourthException, FifthException) as e:
10 handle_either_of_3rd_4th_or_5th()
11
12except Exception:
13 handle_all_other_exceptions()
14