title: What's the difference between "while 1" and "while True"?
body: <p>I've seen two ways to create an infinite loop in Python:</p>
  
  <ol>
  <li><pre><code>while 1:
      do_something()
  </code></pre></li>
  <li><pre><code>while True:
      do_something()
  </code></pre></li>
  </ol>
  
  <p>Is there any difference between these? Is one more pythonic than the other?</p>