title: linux file system /dev/input/event4
body: <p>I have run the code below but I don't understand the result.</p>
  
  <p>Python code:</p>
  
  <pre><code>f = open('/dev/input/event4', 'r')
  while True:
      print f.read(8)
  </code></pre>
  
  <p>and the result is very weird:</p>
  
  <pre><code>&gt;&gt;&gt; 5Q�
  &gt;&gt;&gt; 
  &gt;&gt;&gt; 5Q
  &gt;&gt;&gt; 
  &gt;&gt;&gt; 5Q
  </code></pre>
  
  <p>When I press a key, it adds an incomprehensible code. Thank you for help! </p>