> I like to know, if it's possible to convert a Hex number into > String or other formats? Use the string format operator:
>>> print "%X" % 0xB5 B5 >>> print "%X" % 181 B5 Lowercase '%x' uses lowercase letters on output... Or use the int() function with a base argument to go the other way: >>> print int('0xB5',16) 181 string to integer - which is of course stored in binary format in the computer! Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor