number base conversion? (ASCII to Hex)

chibaA at TinterlogD.Tcom chibaA at TinterlogD.Tcom
Thu May 11 23:54:26 CEST 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

More information about the Python-list mailing list