[Python-Dev] hx string -> int

Patrick ajole-1 at gci.net
Wed Jun 16 17:13:18 EDT 2004


if you had a hex string like 
'0x7c'
how would you convert it to an int?

int(0x7c) works, but not int('0x7c')



More information about the Python-Dev mailing list