> 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. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor