title: python: print hex data instead of dictionary
body: <p>Trying to decode Zigbee protocol from a Lowe's Iris SmartSwitch. The API callback I am using receives a frame that is already parsed, and sent to the callback as (I believe) a dictionary object (?).  My code:</p>
  
  <pre><code>def callback(data):
      print data
  </code></pre>
  
  <p>prints the following:</p>
  
  <pre><code>{'profile': '\xc2\x16', 'source_addr': '\x93\x0c', 'dest_endpoint':
   '\x02', 'rf_data': '\t\x00\x81\x00\x00', 'source_endpoint': '\x02',
   'options': '\x01', 'source_addr_long': '\x00\ro\x00\x03\xbc\xdf\xab',
  'cluster': '\x00\xef', 'id': 'rx_explicit'}
  </code></pre>
  
  <p>I think this is in byte order, and I would much prefer an output like:</p>
  
  <pre><code>C2 16 93 0C 02 09 00 81 00 00 02 01 00 ...
  </code></pre>
  
  <p>Any way to do this with Python built-ins, with the given 'data' argument?  Also, I dont know how to interpret "\ro" as 8-bit hex. "\t", I assume, is 0x09.</p>
  
  <p>What I would REALLY like is a raw dump of the dataframe, but I don't know if there is an API call for that. </p>