Try..Except

try: 
  # codes
except:
  # codes run if there is an exception
try: 
  # codes
except:
  # codes run if there is an exception
else:
  # no exception?
try:
  # try codes
except FileNotFoundError as fnf_error:
    print(fnf_error)
except AssertionError as error:
    print(error)

Other Errors, check this list.