try:
    #add some code inside here
except:
    #it will fall inside here if there are any errors
else:
    #it will fall here if the try block succeeded
finally:
    #this will work regardless of errors
