How to Convert a String Representing Bytes to a Bytes Object in Python