#!/usr/local/bin/python2 import xml.etree.ElementTree as etree r = etree.XML('b') print r.tail