On 28 June 2013 09:12, Chris “Kwpolska” Warrick > Or even: > > foo = lambda x: bool(x) Now you'll make me learn what lambda is. Ah, it's like an anonymous function in jQuery, which I found very handy when I hacked around with it to get kewl stuff on to web pages. Although it looks a bit obfuscated for Python - I guess one could get Too lazy. ;') Jim