On 14-02-08 12:55 AM, james campbell wrote:
> header_bin = header_hex.decode('hex')
> AttributeError: 'str' object has no attribute 'decode'What I understand is that you are trying to decode 'hex', which is a string. The interpreter is telling you that strings cannot be decoded. I do not know header_hex.decode(), but I suspect it's expecting an hex number, check it out. PierreD. _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
