title: Python 3, Converting a string storing binary data to Int
body: <p>I have the variable Number which is equal to "0b11001010" and I want it to be the type int like a normal binary is stored e.g.   0b11001010</p>
  
  <pre><code>Number = "0b11001010"
  NewNumber = 0b11001010
  </code></pre>
  
  <p>is there a really simple way and I am overlooking it?</p>
  
  <p>Thanks.</p>