The Python documentation gives this same example:>>> record = b'raymond \x32\x12\x08\x01\x08' >>> name, serialnum, school, gradelevel = unpack('<10sHHb', record) but get different results as to 's', don't know why this change in Python 3? need extra work to encode...>>> name >>> 'raymond ' # for 2.7>>> name >>> b'raymond ' # for 3.3
-- https://mail.python.org/mailman/listinfo/python-list