Como converter meu bytearray ('b \ x9e \ x18K \ x9a') para algo como isto -> '\ x9e \ x18K \ x9a' <--- apenas str, não array

Como converter meubytearray('b\x9e\x18K\x9a') para algo assim ->\x9e\x18K\x9a <--- apenas str, não array!

<code>>> uidar = bytearray()
>> uidar.append(tag.nti.nai.uid[0])
>> uidar.append(tag.nti.nai.uid[1])
>> uidar.append(tag.nti.nai.uid[2])
>> uidar.append(tag.nti.nai.uid[3])
>> uidar
   bytearray('b\x9e\x18K\x9a')
</code>

Eu tento decodificar meu bytearray por

<code>uid  =  uidar.decode('utf-8')
</code>

mas não pode ...

<code>Traceback (most recent call last):
  File "<pyshell#42>", line 1, in <module>
    uid = uidar.decode("utf-8")
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9e in position 0: invalid start byte
</code>

Ajude-me, por favor ...

questionAnswers(1)

yourAnswerToTheQuestion