def __str__(self):
        "Return a representation of the tree formed by this object."
        lines = [self.path]
        self.__walk(lines, self.children, '')
        return '\n'.join(lines)
Return a representation of the tree formed by this object.
recipes/Python/578154_Directory_Pruner_4/recipe-578154.py