Re: hex int and string



On 11月28日, 上午11时41分, "84715...@xxxxxx" <84715....@xxxxxx> wrote:
On 11月27日, 下午4时54分, luca72 <lucabe...@xxxxxxxxx> 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
.



Relevant Pages

  • String
    ... "ID" of type Int ... "Product" of type String ... Dim items As Generic.List ... remove the last comma. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: hex int and string
    ... str = 'D3' ... and i need to trasform in 0xd3 type int and not type string how i can ...
    (comp.lang.python)
  • hex int and string
    ... str = 'D3' ... and i need to trasform in 0xd3 type int and not type string how i can ...
    (comp.lang.python)