I have a bytes and I want to convert it into string in python ?

These are the bytes that I want to convert:

```
b'\xfeD1\xc2B\xac\xf86Mx\xc1\x0e\xa4\xe2x\x0c,\xd4\x1a\xb1'

```

but I am not able to convert it into normal characters.

Also I am providing the above byte as input.

I had tried:

```
my_str = b'\xfeD1\xc2B\xac\xf86Mx\xc1\x0e\xa4\xe2x\x0c,\xd4\x1a\xb1'.decode()
print(my_str)

```

and the error that I am getting is:

```
Traceback (most recent call last):
  File "E:/Mainproject.py", line 39, in <module>
    my_str = b'\xfeD1\xc2B\xac\xf86Mx\xc1\x0e\xa4\xe2x\x0c,\xd4\x1a\xb1'.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfe in position 0: invalid start byte

```

**Edit:1**
This is the code i used to encode the text. Here i am trying to some pn sequence to encrypt an inputed text and the resultant output that i am getting is a byte.
Now i want to create another program that takes this byte as input and decode it into plain text.

```
from pylfsr import LFSR

# The initial state
state = [0,0,0,1,0,1,0,1,0,1,1]
# The LFSR polynomial use a primitive polynomail to get maximum period length
poly = [2,2,3,4,2]
l = LFSR(fpoly=poly, initstate =state)
print(l)
message = input().encode()
ciphertext = b""

# generate all LFSR sequence
allseq = l.runFullCycle()
seq = ""
seq_index = 0

# Convert LFSR bits into a string
for x in allseq:
    seq += str(x)
for counter in range(len(message)):
    ran_seq = seq[seq_index: seq_index+8]
    # Now encrypt by XOR convert to bytes and append to ciphertext
    # print(type(message[counter]),message[counter],type(ran_seq),ran_seq,int(message[counter]^int(ran_seq)))
    ciphertext += bytes([int(message[counter]) ^ int(ran_seq, 2)])
    # print(ciphertext)
    seq_index += 8  # Move sequence to Next byte

print(ciphertext)

```