Alan Gauld wrote: > On 18/03/16 15:31, Peter Otten wrote: > >> I suppose he thinks that hexadecimal and binary is the same. The data you >> showed is binary. For example the following sequence of bytes >> >> 9 1 120 1 253 2 >> >> is displayed as the bytestring >> >> b'\t\x01x\x01\xfd' > > What happened to the 2 at the end? > Shouldn't it be: > > b'\t\x01x\x01\xfd\x02'
Yes, sorry. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor