Run
bytesObj = b'52s3a6"s1s2xA$as2' bytesObj = b'52s3a6s1s\'2xA$as2' #use escape character for single quote inside single quotes
Output