Johannes Graumann <[email protected]> writes: > '00:08:9b:ce:f5:d4' > ... > hexcall = "\\x".join(hexcall).decode('string_escape')
I think it's best not to mess with stuff like that. Convert to integers
then convert back:
mac = '00:08:9b:ce:f5:d4'
hexcall = ''.join(chr(int(c,16)) for c in mac.split(':'))
--
http://mail.python.org/mailman/listinfo/python-list
