Код: Выделить всё
try:
do_the_first_part()
except SomeError:
do_the_next_part()
См. также: Как использовать оператор «pass»?
Подробнее здесь: https://stackoverflow.com/questions/152 ... r-in-pytho
Код: Выделить всё
try:
do_the_first_part()
except SomeError:
do_the_next_part()