How to convert bytearray to string in python

I need to convert the next bytearray to string:

Num = bytearray()

I have tried

Num = bytearray(str) 

but that’s not the solution

Leave a Comment