help(ord)

On Apr 4, 2005 4:16 PM, Chi Tai <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> how can i make an integer value from a character value like this.
> 
> string = "Hallo"
> integerval = string[0]
> i = integerval + 2 #this does not work because integerval is not an
> integer value
> 
> i want the in integervalue the intvalue of the hexvalue 0x48 ( the
> character-value of "H")
> Is there a simple possibility ?
> 
> Chi-Tai
> 
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to