Thank you for the critique Javier. You made some good points that I will play with before moving on.
Beyond that, I intentionally neglected error checking in this exercise as you may have surmised. Checking input arguments and handling access restrictions gracefully would indeed be important components. The initial os.walk() approach I tried is simple in concept: pgo = os.walk(base_directory) for xnode in pgo: <process node> but I ended up with much more processing in having to sort the rows and then blank repeated cells, than the recursive listdir approach which gave me the desired ordering in one pass. Lee C _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor