Alan> (P.S. I still don't see what's wrong with good ol' "cond ? x : y") I still don't see the advantage over good ol' if cond: x else: y -- Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark