On Oct 4, 5:42 pm, Casey <[EMAIL PROTECTED]> wrote: > Not sure if this is really better or even more pythonic, but if you > like one-liners that exercise the language:
Hmm, I guess it WAS more pythonic, since three of us gave essentially identical responses in a 10-minute period. That being said, I'd recommend a good comment before the one-liner describing what the output dictionary is going to look like. Anyone who reads your code (including yourself, two weeks later) will thank you! -- http://mail.python.org/mailman/listinfo/python-list