title: Python read data from Buffer
body: <p>Im a Rookie!</p>
  
  <p>im reading data from a sensor with:</p>
  
  <pre><code>data = ""
  dev = os.open("/dev/rtlightsensor0", os.0_RDWR)
  data = os.read(dev,16)
  
  print(data)
  </code></pre>
  
  <p>result:
  b'1 53 -5 1\n'</p>
  
  <p>I was thinking thats a String but seems to be like a Buffer? Could anyone give me a Tip, how to get the 4 Numbers?</p>
  
  <p>i tried </p>
  
  <pre><code>value1 = data[1]
  </code></pre>
  
  <p>but the result was a different number..</p>