Tired of writing complex and lengthy filters just to prepare some data? Try out one of these for size.
# get a bunch of info about some object e = dir(e) # now just show me the public attrs [x for x in dir(e) if not x.startswith('__')]
List comprehensions. They rule.