hex string to hex value

Grant Edwards grante at visi.com
Wed Nov 23 02:33:06 CET 2005

On 2005-11-23, tim <tim.vets at skynet.be> wrote:

>>Fredrik Lundh's solution works if the hex string starts with "0x"
>>(which it will when the string is created with the hex function).
> aren't you converting from a hex string to a decimal value here?


He's converting from a hex string to an integer object.

Grant Edwards                   grante             Yow!  It's OKAY --- I'm an
                                  at               INTELLECTUAL, too.

More information about the Python-list mailing list