title: Reading a raw binary data in python and converting it into ascii
body: <p>I have a raw binary data and I want to convert it into a readable text.</p>
  
  <p>the text contains with something that is not readable, it has also special characters, like black box with NUL word or " N–[«´N–[«  )›  )ÿ " . I'm just new in python.</p>
  
  <p>here's my code </p>
  
  <pre><code>import struct
  file = open('rawbinary.txt')
  text = file.read()
  struct.unpack("iiiii", text[:20])
  </code></pre>
  
  <p>my output was:</p>
  
  <pre><code>(2113933569, 67305475, -80477197, 1536577129, 1312228259)
  </code></pre>
  
  <p>and if add this:</p>
  
  <pre><code>text[:10]
  </code></pre>
  
  <p>my output is</p>
  
  <pre><code>'\x01\x11\x00~\x03\x00\x03\x04\xf3\x03'
  </code></pre>
  
  <p>Am I doing it right? What is my next step? </p>