title: How do I add tab completion to the Python shell?
body: <p>When starting a django application using <code>python manage.py shell</code>, I get an InteractiveConsole shell - I can use tab completion, etc.</p>
  
  <pre><code>Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) 
  [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  (InteractiveConsole)
  </code></pre>
  
  <p>When just starting a python interpreter using <code>python</code>, it doesn't offer tab completion.</p>
  
  <p>Can someone tell me what django is doing to give me an interactive console, or what I need to do to start an interactive console without a django app?</p>