Special JS operators in python
<p>I'm 'hacking' my router, and I need to rewrite one JS function that takes date in hexdec format and convert it into Y m d</p>

<p>JS code looks like:</p>

<blockquote>
  <p>return [(((n >> 16) &amp; 0xFF) + 1900), ((n >>> 8) &amp; 0xFF), (n &amp; 0xFF)];</p>
</blockquote>

<p>where <em>n</em> is variable in format 0x123456 (e.g. 6 hexdec digits after 0x sign)
found that python has operators like >> but does't have >>> operator.
Any idea how to do that ?
thanks</p>
