#!/usr/local/bin/python2 import xml.etree.ElementTree as ET for c in ET.fromstring(''): print c