Would that do it? for i in my_byte_string: .... = atoi(binascii.hexlify(i),16)
Regards, Philippe On Tue, 18 Jan 2005 20:43:44 +0200, tertius wrote: > Hi, > > Is there a builtin function that will enable me to display the hex > notation of a given binary string? (example below) > > many thanks > Tertius > > > > 0000(0000) 02 11 00 00 46 5A 1A 82 02 11 00 39 36 39 33 39 > ....FZ.....96939 > > 0016(0010) 36 39 33 00 0A 30 33 37 34 34 39 35 38 25 DD 01 > 693..03744958%.. -- http://mail.python.org/mailman/listinfo/python-list