title: how to convert negative integer value to hex in python
body: <p>I use python 2.6</p>
  
  <pre><code>&gt;&gt;&gt; hex(-199703103)
  '-0xbe73a3f'
  
  &gt;&gt;&gt; hex(199703103)
  '0xbe73a3f'
  </code></pre>
  
  <p>Positive and negative value are the same?</p>
  
  <p>When I use calc, the value is <code>FFFFFFFFF418C5C1</code>.</p>