#!/usr/local/bin/python2 from xml.etree.ElementTree import XMLParser parser = XMLParser() parser.feed('s') # print parser.close()