Converting from Hexadecimal to Denary in Python [closed]

http://docs.python.org/library/functions.html#int

Python’s int function creates base 10 numbers, and lets you supply the base of the variable you are feeding.

x = int('FF', 16) is the same as x = 255

Leave a Comment