Decode Bytes To String

This keyword has failed to decode string either on Python 2 or 3. Anyone has any idea on how to use this keyword and pass it?

Error Message: TypeError: Can not decode strings on Python 3.

Images screenshots look nice, but they don’t allow to copy and reproduce your problem.
@sCan you paste a code block?

What is the error on python 2 then?