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

Tommy Nordgren tommy.nordgren at
Fri Dec 12 05:06:33 CET 2008

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

> int('\xf0',16) doesn't work, any way to do that?
> --
	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

More information about the Python-list mailing list