luca72 wrote:
> Hello again my friends
>
> here's my new problem.
>
> How i can translate chr in to hex or int to integer value?
>
> Best Regards
>
> Luca
>
By demonstrating that you have tried to solve the problem yourself.
See:
http://www.catb.org/~esr/faqs/smart-questions.html
--S
Or:
py> print hex(ord('a'))
0x61
py> print int(ord('a'))
97
--
http://mail.python.org/mailman/listinfo/python-list
luca72 wrote:
> Hello again my friends
>
> here's my new problem.
>
> How i can translate chr in to hex or int to integer value?
print "%x" % ord('a')
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Hello again my friends
here's my new problem.
How i can translate chr in to hex or int to integer value?
Best Regards
Luca
--
http://mail.python.org/mailman/listinfo/python-list