Re: chrtohex

2006-02-24 Thread Scott David Daniels
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

Re: chrtohex

2006-02-24 Thread [EMAIL PROTECTED]
Or: py> print hex(ord('a')) 0x61 py> print int(ord('a')) 97 -- http://mail.python.org/mailman/listinfo/python-list

Re: chrtohex

2006-02-24 Thread Diez B. Roggisch
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

chrtohex

2006-02-24 Thread luca72
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