title: 'str' object has no attribute 'decode'
body: <p>I'm trying to decode hex string to binary values. 
  I found this below command on internet to get it done, </p>
  
  <pre><code>string_bin = string_1.decode('hex')
  </code></pre>
  
  <p>but I got error saying</p>
  
  <pre><code>'str' object has no attrubute 'decode'
  </code></pre>
  
  <p>I'm using python v3.4.1</p>