title: Weird Output Value: b'[value]\r\n' - Python Serial Read
body: <p>I'm reading a value through Python from the serial port of a sensor of Arduino.</p>
  
  <p>My code(Python):</p>
  
  <pre><code>arduino = serial.Serial(2, 9600, timeout=1)
  print("Message from arduino: ") 
  while True:
     msg = arduino.readline()
     print(msg)
  </code></pre>
  
  <p>I don't know why the output result is something like <code>b'[sensor-value]\r\n'</code>. 
  So, I get something like <code>b'758\r\n'</code> <code>b'534\r\n'</code> <code>b'845\r\n'</code> etc (regarding to sensor change value).</p>
  
  <p>How I convert this?</p>