ParentFull threadarocks·A lot more examples are in the Python wiki: http://wiki.python.org/moin/Powerful%20Python%20One-LinersView on HN