Recursive Tree Print
<<<< ^^^^^ >>>>
def print_nodes_of_tree(mynode, level):

   for __child in mynode._get_childNodes():
      print_nodes_of_tree(__child, level+1);

<<<< ^^^^^ >>>>
Copyright (C) 2000 by Steve Litt, you can freely distribute unmodified copies if this copyright notice and disclaimer are intact.  This material originally appeared on Troubleshooters.Com.

This presentation has no warrantee, express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the presentation is with you.


Exit Slideshow