Re: how to convert ‘\xf0' to 0xf0 ?

Tommy Nordgren tommy.nordgren at comhem.se
Thu Dec 11 23:06:33 EST 2008


On Dec 12, 2008, at 4:48 AM, chengang.beijing at gmail.com wrote:

> int('\xf0',16) doesn't work, any way to do that?
> --
> http://mail.python.org/mailman/listinfo/python-list
	Should be int('10',16)
or int('0x10',16)
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
tommy.nordgren at comhem.se





More information about the Python-list mailing list