print('---exception handle before--- ')
try:
print('try execute')
## print(c)#show error
except Exception as XXX :
print('when program is error execute this ,show error:',XXX)
else:
print('when program no error will execute this')
finally:
print('this one always execute')
print('---exception handle after---')