1. bytes object
    2. b = b"example"
    3. str object
    4. s = "example"
    5. str to bytes
    6. bytes(s, encoding = "utf8")
    7. bytes to str
    8. str(b, encoding = "utf-8")
    9. an alternative method
    10. str to bytes
    11. str.encode(s)
    12. bytes to str
    13. bytes.decode(b)