How can I treat a string which is a hexadecimal number as a hexadecimal number? For example, I am loading in a file of hexadecimal numbers but Python is loading the file in as a string. Is it possible to get Python to treat the hexadecimal numbers in the file as hexadecimal numbers? I'm using Python 2.7
Thanks!