title: python django decode array html codes to readable text
body: <p>I receive a bunch of binary data and I want it be become a readable string again.</p>
  
  <pre><code># Get data length in bits
  dataLen = headerLen + (payLoadLen * 8) - bytes.pos
  if dataLen &gt; 0:
          eventData = []
      for i in range(dataLen / 8):
          eventData.append(bytes.read(8).int)
      m.setEventData(eventData)
      logging.debug("[D] Event data: %s" % eventData)
  </code></pre>
  
  <p>which results in a log like:</p>
  
  <p>[D] Event data: [87, 84, 94, 87, 44, 36,
   70, 77, 83, 52, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48,
  44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 13, 10, 87, 84, 94, 87, 44, 36, 70, 77, 83, 49, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 44, 48, 13, 10]</p>
  
  <p>If you look <a href="http://www.asciitable.com/" rel="nofollow">http://www.asciitable.com/</a>, I know it's correct. The first characters are indeed WT^W,FMS...</p>
  
  <p>How can I change this code so that the logging has a more human readable string?</p>