Hi Victor, the .append function doesn't return anything, so it's a None. And you should have it inside the parentheses.
>>> tree.append("%s%s" % ("\t" * level, name))
is probably what you're after.
Cheers,
Xav
-- http://mail.python.org/mailman/listinfo/python-list
