hex to int python3 code example Example: convert hex to decimal python myDecimalInteger = int("A278832", 16) #Converts to decimal from base 16