guys,

I've researched python pretty much but still have no idea how to print
out each single character from a string in HEX format? Hope someone
can give me some hints. Thanks a lot.

e.g.    ###here is a string

          a='01234'

          ###how to print out it out in this way

          0x31 0x31 0x32 0x33 0x34

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to