hex int and string

84715175 at qq.com 84715175 at qq.com
Sat Nov 28 04:41:48 CET 2009

On 11月27日, 下午4时54分, luca72 <lucabe... at libero.it> wrote:
> hello i have a problem
> i have this
> str = 'D3'
> and i need to trasform in 0xd3 type int and not type string how i can
> do this?
> if i do
> hex(int(str,16) ) i obtain a string and this is not what i need.
> thanks Luca

<p> <strong><a title="sport jersey" href="http://www.jerseysup.com"
target="sport jersey">sport   jersey</a></strong>
<a title="sport jersey"
href="http://www.sport-jersey.net" target="sport
jersey"><strong>sports jersey </strong></a><strong>   </strong><a
title="ugg women" href="http://www.uggwomen.net" target="ugg
women"><strong>uggboot </strong></a><strong>   </strong><a title="nike
market " href="http://www.nike-market.com" target="nike

More information about the Python-list mailing list