title: Python binary EOF
body: <p>I want to read through a binary file.
  Googling "python binary eof" led me <a href="https://stackoverflow.com/questions/10581309/eof-in-a-binary-file-using-python">here</a>.</p>
  
  <p>Now, the questions:</p>
  
  <ol>
  <li>Why does the container (x in the SO answer) contain not a single (current) byte but a whole bunch of them? What am I doing wrong?</li>
  <li>If it should be so and I am doing nothing wrong, HOW do read a single byte? I mean, is there any way to detect EOF while reading the file with <code>read(1)</code> method?</li>
  </ol>