title: C to Python Conversion
body: <p>I'm trying to port some code from C to Python.</p>
  <p>I have in C:</p>
  <pre><code>unsigned char bPort = 7777 ^ 0xCC;
  printf(&quot;\n %d \n&quot;, bPort);
  </code></pre>
  <p>Which prints 173</p>
  <p>But then in Python</p>
  <pre><code>bPort = 7777 ^ 0xCC
  print(bPort)
  </code></pre>
  <p>this prints 7853</p>