title: How to extract Raw of TCP packet using Scapy
body: <p>I use the <code>sniff</code> function of scapy module. My <code>filter</code> and <code>prn</code> function are doing a great job. But now, I would like to extract the <code>Raw</code> of the <code>TCP packet</code> and handle it using hexadecimal or binary format.</p>
  
  <p>Here is the <a href="http://fossies.org/dox/scapy-2.2.0/classscapy_1_1packet_1_1Packet.html" rel="noreferrer">documentation</a> of Packet Class in scapy.</p>
  
  <p>How can I do that ?</p>
  
  <p>I tried <code>print packet[Raw]</code> but it seems to be converted as ASCII or something like that. I want to keep it in hexadecimal or binary.</p>