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