I'm trying to process through my try loop again after an error has been found and handled by except (AttributeError). Right now, the script ends after an error is handled rather than starting from the try loop. Any help getting back to the try loop after an error is encountered would be greatly appreciated.
try:
#code
except (AttributeError) as error:
print (error)