Converting 2bit hex representation to integer ?

Madhusudan Singh spammers-go-here at spam.invalid
Wed Oct 19 12:12:28 EDT 2005


Hi

I am using binascii.b2a_hex to convert some binary data to hex. The result
is a two bit hex representation (i. e., without the leading 0x). How do I
convert the resulting two bit representation into an integer ?

Thanks.



More information about the Python-list mailing list