hex string to hex value

avnit avnit7 at gmail.com
Tue Nov 22 18:22:30 EST 2005


If you just want to convert a string to an integer, it would be:

>>> int(n)

in your case it would be:

>>> m=66
>>> n=int(hex(m))




More information about the Python-list mailing list