#!/usr/local/bin/python2 import xml.etree.ElementTree as et r = et.XML('') def t(e): for c in e: t(c) for i in xrange(200000): t(r)