hex int and string

jessica cindyqjm at gmail.com
Fri Nov 27 22:46:47 EST 2009


On 11月28日, 上午11时41分, "84715... at qq.com" <84715... at qq.com> wrote:
> 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
> market"><strong>nike</strong></a></p>

http://www.mbthome.net/ mbt shoes



More information about the Python-list mailing list