Код: Выделить всё
try:
run_code1()
except TypeError:
run_code2()
other_code()
Код: Выделить всё
try:
run_code1()
except TypeError:
run_code2()
finally:
other_code()
Подробнее здесь: https://stackoverflow.com/questions/115 ... code-after
Код: Выделить всё
try:
run_code1()
except TypeError:
run_code2()
other_code()
Код: Выделить всё
try:
run_code1()
except TypeError:
run_code2()
finally:
other_code()