Hi Victor,<br><br>the .append function doesn't return anything, so it's a None. And you should have it inside the parentheses.<br><br>>>> tree.append("%s%s" % ("\t" * level, name)) <br>

<br>is probably what you're after.<br><br>Cheers,<br>Xav<br>