title: Not able to convert HEX to ASCII in python 3.6.3
body: <p>I tried below methods, but no luck.</p>
  
  <p>method 1:</p>
  
  <p>var contains the hex value</p>
  
  <pre><code>bytes.fromhex(var).decode('ascii')
  Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; UnicodeDecodeError: 'ascii' codec can't decode byte 0xdb in position 0: ordinal not in range(128)
  </code></pre>
  
  <p>method 2: </p>
  
  <pre><code>codecs.decode(var,"hex")
  </code></pre>
  
  <p>This is returning me in bytes, not in ASCII.</p>
  
  <p>Can someone help on this conversion?</p>