> print "[%s]" % ('-'.join([hex(v) for v in theValue]) ) Oops, that leaves 0x at the front of each byte. You could strip that off with print "[%s]" % ('-'.join([hex(v)[2:] for v in theValue]) ) Sorry, Alan G.