I am currently trying to output the results in Amara. Her is an example

count = 0
for root, dir, files in os.walk(path):
for s in files:
count += 1
print s

this will only output to a console. How do I output 's' to xml using amara. Thanks. I can also post what process I am making with trying to get it output with amara.