number base conversion? (ASCII to Hex)

chibaA at TinterlogD.Tcom chibaA at TinterlogD.Tcom
Thu May 11 17:54:26 EDT 2000


How would I go about getting the base-16(hex) value of a character,
into a string?

take character word[1] (for example)
and retrieve the hex value of 31
and assign it to value hexValue in an ascii format (ie. as the number
31).






More information about the Python-list mailing list