title: What's the easiest way to add commas to an integer?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1823058/how-to-print-number-with-commas-as-thousands-separators">How to print number with commas as thousands separators?</a>  </p>
  </blockquote>
  
  
  
  <p>For example:</p>
  
  <pre><code>&gt;&gt; print numberFormat(1234)
  &gt;&gt; 1,234
  </code></pre>
  
  <p>Or is there a built-in function in Python that does this?</p>