On Thu, Nov 06, 2008 at 05:00:16PM +0000, Nigel Rantor wrote: > Paul Makepeace wrote: [...] >> If it's not staring out at you, you're possibly also a python programmer. >> Python here arguably DWIM better than perl. > Does python give you the keys by default?
Sort of. In Python, "for" loops over values returned by an iterator, and a hash implements that interface.