title: Recursive Postorder Traversal to List in Python?
body: <p>Hello all—I'm a programming newcomer, and have the following very simple code here:</p>
  
  <pre><code>def postorder(T):
      if T != None:
          postorder(T.left)
          postorder(T.right)
          print T.data,
  </code></pre>
  
  <p>All I want is instead of printing the traversal I want to have the function store that information in an array or something of the like such that I can then use that information for other things</p>