title: Conversion from HEX to SIGNED DEC in python
body: <p>I have a file with HEX data I want to convert it into SIGNED DECIMAL using python.
  <code>int('0xffd2',16)</code> is not the solution since it converts the HEX to unsigned DEC. Any idea how to do it?</p>
  
  <pre><code>0xffd2, 65490
  
  0xffcb, 65483
  
  0xffcb, 65483
  
  0xffcc, 65484
  
  0x10, 16
  
  0xc, 12
  
  0xd, 13
  
  0x0, 0
  
  0xfffe, 65534
  </code></pre>