python try except rretry logic code example
Example: python try then change something and try again if fails
for i in range(0,100):
while True:
try:
# do stuff
except SomeSpecificException:
continue
break