И я не могу понять как мне из одной строки bytes скопировать часть из другой строки bytes:
>>> one=bytes([129,130,131]) >>> two=bytes([22,33]) >>> one[0]=two[0] Traceback (most recent call last): File "<pyshell#24>", line 1, in <module> one[0]=two[0] TypeError: 'bytes' object does not support item assignment >>>