title: How can I get sign bit of an integer in python?
body: <p>I want to be able to access the sign bit of a number in python. I can do something like <code>n &gt;&gt; 31</code> in C since int is represented as 32 bits.</p>
  
  <p>I can't make use of the conditional operator and > &lt;.</p>