title: Python3 bytes to hex string
body: <p>I have a bytes object:</p>
  
  <pre><code>a =  b'067b'
  </code></pre>
  
  <p>How do I get a string from it? Like this:</p>
  
  <pre><code>"067b"
  </code></pre>
  
  <p>I've tried:</p>
  
  <pre><code>In [3]: str(a)
  Out[3]: "b'067b'"
  
  In [4]: import codecs
  
  In [5]: codecs.decode(a,'hex')
  Out[5]: b'\x06{'
  
  In [6]: import binascii
  
  In [7]: binascii.b2a_hex(a)
  Out[7]: b'30363762'
  
  In [8]: binascii.hexlify(a)
  Out[8]: b'30363762'
  </code></pre>
  
  <p>Is there <em>no way</em> to do this?</p>