title: Which are the advantages of byte objects over string objects in Python?
body: <p>I understand the differences between byte/bytearray and string in Python and how to handle/manipulate/convert these objects but I cannot find real life scenarios/examples where you would prefer to work with bytes instead of strings in the code.</p>
  <p>Which are the advantages of byte objects over string objects in Python?
  and in which real life scenarios should you convert in your code strings into bytes and why?</p>