title: Is there a pretty printer for python data?
body: <p>Working with python interactively, it's sometimes necessary to display a result which is some arbitrarily complex data structure (like lists with embedded lists, etc.)
  The default way to display them is just one massive linear dump which just wraps over and over and you have to parse carefully to read it.</p>
  
  <p>Is there something that will take any python object and display it in a more rational manner. e.g.</p>
  
  <pre><code>[0, 1,
      [a, b, c],
      2, 3, 4]
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>[0, 1, [a, b, c], 2, 3, 4]
  </code></pre>
  
  <p>I know that's not a very good example, but I think you get the idea.</p>